System specs: 64-bit OS (Win7), 64-bit R (3.3.3), 32-bit MS Access (2016).
I have data in a 32-bit .accdb file and I want to read it into R. I tried this:
The access file itself knows nothing about bitness, its only about the client application and the bitness of the odbc driver:
If your R is 64 bit, you need the 64bit ODBC driver for access and therefore also use the odbc manager for 64bit, which is C:\Windows\System32\odbcad32.exe
(in Win7 64bit).
While if your R is 32bit, you need the 32bit ODBC driver, located at C:\Windows\SysWOW64\odbcad32.exe
.
You can download the required Access Database Engine 2010 Redistributable from here: https://www.microsoft.com/en-US/download/details.aspx?id=13255
So, download the 64 bit Access Database driver, create a 64bit DSN entry and you should be fine.