Reputation: 277
I have my Rstudio installed on Mac, and SQL server Management studio in Parallel VM. now, I am trying to connect R with SQL server using RODBC package. I think I have the sql server driver installed on my computer. i am not familiar with database. below are what I did:
set up User DSN 'orca4' in Parallel VM (Windows 7), driver name 'SQl Server Native Client 11.0' (it was tested successfully).
run R odbcConnect('orca4'), it gave me message '[iODBC][Driver Manager]Data source name not found and no default driver specified. Driver could not be loaded'
Could anyone let me know what is the problem here?
Upvotes: 0
Views: 459
Reputation: 1105
It's the client that needs the DSN, not the server. You want to create a DSN on your Mac that R can access. I'm not familiar with how to do this on OSX, but looks like this link might help:
http://www.actualtech.com/readme.php
Upvotes: 1