I tried to install the RMySQL library (R version 2.14.2, WinXP at 32 bits) but received the following error message:
install.packages("D:/R/library/RMySQL_0.9-3.tar.gz",repos=NULL, type="source")
...
RS-MySQL.h:32:19: fatal error: mysql.h: No such file or directory compilation terminated. make: *** [RS-MySQL.o] Error 1 ERROR: compilation failed for package 'RMySQL' * removing 'C:/Dokumente und Einstellungen/Giordano/R/win-library/2.14/RMySQL' Warning message: In install.packages("D:/R/library/RMySQL_0.9-3.tar.gz", repos = NULL, : installation of package 'D:/R/library/RMySQL_0.9-3.tar.gz' had non-zero exit status
This is only part of the output containing the error message. I do not understand this message, and maybe something can give me some advice. Thanks for the help. Giordano.
source share