installing RMySQL gives error RS-MySQL.h:32:19: fatal error: mysql.h: No such file

前端 未结 4 1064
说谎
说谎 2021-01-06 19:04

I tried to install the RMySQL-library (R version 2.14.2, WinXP on 32bit) but got the following error message:

install.packages(\"D:/R/library/RMySQL_0.9-3.ta         


        
4条回答
  •  臣服心动
    2021-01-06 19:19

    R cannot find the MySQL header files that it needs to build the package. As the documentation states:

    You need to have installed 'C Include Files / Lib Files' as part of your MySQL installation when installing the MySQL binary distribution.

    The fix is to install the MySQL header files.

提交回复
热议问题