Reading data from Microsoft SQL Server into R

前端 未结 7 567
长发绾君心
长发绾君心 2021-02-01 02:17

Is it 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.

7条回答
  •  鱼传尺愫
    2021-02-01 02:45

    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.

提交回复
热议问题