Can I use RODBC on OSX 10.9.2 Mavericks to connect to a SQL Server (for free)?
specifically I want to:
dB <- odbcConnect("dataBase",pwd="password",uid="userID")
t <- sqlQuery(dB,"SELECT * FROM myTable")
but odbcConnect throws this warning over and over and never returns...
50: In odbcDriverConnect("DSN=dataBase;UID=userID;PWD=password") : [RODBC] ERROR: state IM002, code 1408279968, message [iODBC][Driver Manager]Data source name not found and no default driver specified. Driver could not be loaded
Now to be honest, I haven't set up the DSN with iODBC with the right DSN because I don't have a free SQL Server driver.
The few people who report using RODBC to connect to SQL Server under OSX 10.9.2 Mavericks have been a bit obscure. Not naming drivers, or mentioning that they compiled RODBC or iODBC by hand.
Update: thread now on these questions: Installation of RODBC on OS X Yosemite and Installation of RODBC/ROracle packages on OS X Mavericks
See Question&Answers more detail:os