Hi again,
I have played a little more with mdbtools and R. I downloaded the
latest version of mdbtools from sourceforge (version 0.6pre1). Quickly
scanning the mailing list suggests that ODBC seems to work with PHP
but I have not been able to get it to work with R. I can make a
connection to the database and when I do a query I get back the names
of the rows but not the data. I must admit I have not spent long
trying to figure it out.
For my own use I am able to work directly with a database file on my
local machine, and to make things easier for myself I have
concentrated on making some simple functions (based on those I posted
yesterday) that use mdbtools to:
i) get table names,
ii) describe tables,
iii) read tables into R, and
iv) use the (basic) SQL functionality of mdbtools to perform simple
queries (really only able to select subsets of columns and rows)
Here is an example session using a database I found on the web at
http://www.microsoft-accesssolutions.co.uk/downloads/login.zip