Chris Chris - 1 year ago 671
R Question

How to connect R with Access database in 64-bit Window?

When I tried to connect R with Access database I get an error

odbcConnectAccess is only usable with 32-bit Windows

Does anyone has an idea how to solve this?


Answer Source

Use odbcDriverConnect instead. If you have 64-bit R installed, you may have to use the 32-bit R build.

odbcDriverConnect("Driver={Microsoft Access Driver (*.mdb, *.accdb)};DBQ=D:/SampleDB1/sampleDB1.mdb")
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download