Failure to connect to odbc database in R

前端 未结 6 510
难免孤独
难免孤独 2020-12-02 00:00

I\'ve been trying to connect my company\'s DMS to R using the odbcConnect command, but get the following message:

myConn <-odbcConnect(\"NZSQ         


        
6条回答
  •  独厮守ぢ
    2020-12-02 00:19

    This is IM02 error which means name of the DSN is incorrect.

    GO to ODBC and check the USER/System DSN that you should be using. Once your name of DSN is correct, you might get IM014 state error which is archtecture mismatch. In that case,

    The simpler solution is IN r studio - go to tools and change the version of R to 32 bit.

    It should be ready to work

提交回复
热议问题