Connecting to MS Access Database from R (x64) -


i trying access access database using r. have tried below options not able connect database. using 64 bit r , 64 bit access. using windows 7 also.. :(

library(rodbc) db <- "e:/testdb.accdb" myconn <-odbcdriverconnect("driver={microsoft access driver (*.mdb, *.accdb)};dbq=e:/test.accdb") con2 <- odbcconnect(db) channel <- odbcconnectaccess("e:/testdb") 

i error. please me.

1: in odbcdriverconnect("dsn=e:/testdb.accdb") :   [rodbc] error: state im002, code 0, message [microsoft][odbc driver manager] data source name not found , no default driver specified 2: in odbcdriverconnect("dsn=e:/testdb.accdb") : odbc connection failed 

i think problem error message suggests - don't have x64 microsoft access driver installed. check in control panel - odbc data sources (x64) on drivers tab. if it's not there, try install microsoft access database engine 2010 redistributable.


Comments

Popular posts from this blog

How to connect android app to App engine -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

php - display validation error message next to the textbox in codeigniter -