AnalyticBridge

Social Network For Analytic Professionals

Hi All,

Can any one tell me how to integrate R with SQL Server2005..?

I would like to go for R instead of SAS ..How do u think about it ..

Share

Reply to This

Replies to This Discussion

Currently R can import data from excel and csv file.
I doubt that it can read in data from SQL Server smoothly while SAS can handle almost all data source.

Can anyone confirm it?

-Kevin

Reply to This

The standard R Import-Export documentation (PDF) describes how to access databases. In the Windows context, this amounts to creating an ODBC link, and then accessing it directly from R.

Many people (including me!) use R to access relational databases via SQL directly. As a local database, you can always install something like PostgreSQL and use R to write to it for later retrieval, or you can use something like the database package Filehash for such storage.

Reply to This

Thank you for the clarification.

Reply to This

You may also want to take a look at the open source package KNIME. It has an excellent visual interface, can read from a database, and it integrates with R.

Hope this helps.

Reply to This

KNIME is not open source software according to the OSI (http://www.opensource.org/) definition, because it descriminates commercial use.

Reply to This

also consider to look at the R for SAS and SPSS users book (http://www.decisionstats.com/?p=599) and the Rattle GUI from www.togaware.com

Reply to This

the correct thing to be doing in my view

Reply to This

Hello Ram,
One possible way to use SQL server with R is via package RODBC. You should try it first. Then you can go for RDBI package.

I recommend R for using as data mining tool. There are thousands of packages. You should find out what people did in those packages and then you can write your own functions over others work. You dont have to reinvent the wheel, do you?

F.

Reply to This

RSS

Featured


Advertisement

© 2010   Created by Vincent Granville

Badges  |  Report an Issue  |  Privacy  |  Terms of Service