I have tried pretty much everything suggested on stack overflow and on http://biostat.mc.vanderbilt.edu/wiki/Main/RMySQL but the installation still fails with the error message: "ERROR: configuration failed for package 'RMySQL'". I installed the MySQL server using the Windows installer and selected the full option so everything possible is installed. I then did the steps described about setting the environment variables and checked that
> Sys.getenv('MYSQL_HOME')
[1] "C:/PROGRA~1/MySQL/MYSQLS~1.5/"
I have made copies of the .lib and .dll files as suggested here: adding RMySQL package to R fails (on Windows)?
I am out of ideas at this point and any help would be GREATLY appreciated.