Skip to content
Prev 218828 / 398500 Next

problems accessing MS Access 2003 database with RODBC

Marc,

Thank you very much for your suggestions and apologies for tardy reply.

To summarize the discussion, it seems that there are several options to
access Microsoft Access databases from R on Linux

1. Use an ODBC driver for Microsoft Access databases other than the
driver in mdbtools.  I think EasySoft offers such driver but it is
relatively expensive ~400 pounds/licence.

2. Convert the database into a MySQL database using mdbtools and tools
build on top of it.  Although appealing, this implies existence of two
databases with the same data.

3. Use mdb.get() from Hmisc package to import entire tables from the
database into dataframes.

4. Switch to R on Windows where ODBC driver for Microsoft Access
databases is well-behaved and freely available.

For my application, option 3 seems to suit best.  My database is
relatively small (~200 thousand records), has only few tables, and speed
is not comprised greatly when I import everything into R.

Once again many thanks for your help.
Regards,
Boris.