I\'ve been trying to connect my company\'s DMS to R using the odbcConnect
command, but get the following message:
myConn <-odbcConnect(\"NZSQ
I just spent days on this. If you are using a Microsoft Access database you have to use the full path to the database, it won't even find the file in the same folder. So from the above question,
myConn <-odbcConnect("NZSQL", uid="cejacobson", pwd="password")
Would need to be something like
myConn <-odbcConnect("c:\\NZSQL", uid="cejacobson", pwd="password")
Phil's link really helped: https://www.connectionstrings.com/