Does anyone know whether it is possible to read the data stored in MS SQL server from R interface? If it is I would be also thankful if anyone could show the way to do it.
Thank you!
Does anyone know whether it is possible to read the data stored in MS SQL server from R interface? If it is I would be also thankful if anyone could show the way to do it.
Thank you!
Tried the RODBC
package already?
http://cran.r-project.org/web/packages/RODBC/index.html
There's also the RJDBC
package : http://www.rforge.net/RJDBC/
See also : http://www.r-bloggers.com/connecting-to-sql-server-from-r-using-rjdbc/
Niko, What operating system are you running? The answer to your question varies, depending on the platform you are using.
If you are using Windows (of any stripe), connecting to MSSQL Server via ODBC (RODBC) makes the most sense. When I connect to a MSSQL Server on Linux, I use JDBC as suggested by Joris. I would assume that JDBC is also the best solution for Macs, but I could very well be wrong.