I'm quite new to R, but I've some experience in programming. I'm trying to install RMySQL on Windows 7 with MySQL Workbench 5.2 and I keep on getting the same errors. I've already checked different procedures, but keep on getting stuck:
http://vhaguiar.wordpress.com/2011/06/06/r-how-to-install-rmysql-in-windows-7-with-mysql-5-5/
http://biostat.mc.vanderbilt.edu/wiki/Main/RMySQL
MySQL is up and running, I have moved libmysql.lib and libmysql.dll, but I keep on getting the following errors. I guess I cannot see the problem for what it really is. Do you have any suggestion?
install.packages("RMySQL", type="source")
--- Please select a CRAN mirror for use in this session ---
provo con l'URL 'http://cran.rakanu.com/src/contrib/RMySQL_0.8-0.tar.gz'
Content type 'application/x-gzip' length 160735 bytes (156 Kb)
URL aperto
downloaded 156 Kb
** installing *source* package 'RMySQL' ...
ERROR: configuration failed for package 'RMySQL'
* removing 'C:/Program Files/R/R-2.13.2/library/RMySQL'
The downloaded packages are in
‘C:\Users\Matteo\AppData\Local\Temp\RtmpYHjzuR\downloaded_packages’
Warning messages:
1: running command 'C:/PROGRA~1/R/R-213~1.2/bin/i386/R CMD INSTALL -l "C:/Program Files/R/R-2.13.2/library" C:\Users\Matteo\AppData\Local\Temp\RtmpYHjzuR/downloaded_packages/RMySQL_0.8-0.tar.gz' had status 1
2: In install.packages("RMySQL", type = "source") :
installation of package 'RMySQL' had non-zero exit status
Sys.getenv('MYSQL_INC')
[1] ""
Sys.getenv('MYSQL_LIB')
[1] ""
Sys.getenv('MYSQL_DIR')
[1] ""
Sys.getenv('MYSQL_HOME')
[1] "C:/PROGRA~1/MySQL/MYSQLS~1.5/"
Sys.getenv('MYSQL_INC')
[1] ""
Sys.getenv('MYSQL_LIB')
[1] ""
Sys.getenv('MYSQL_DIR')
[1] ""
Sys.getenv('MYSQL_HOME')
[1] "C:/PROGRA~1/MySQL/MYSQLS~1.5/"*
This is all using R version 2.13.2.