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

前端 未结 4 1086
说谎
说谎 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:35

    Some pointers to installing mysql header libraries are found here :

    https://github.com/jeffreyhorner/RMySQL

    (site seems to have moved here now)

    http://biostat.mc.vanderbilt.edu/wiki/Main/RMySQL

    Key is to have a Renviron.site file in the R\etc folder and having libmysql.dll in the correct places before compiling from source.

    good luck.

提交回复
热议问题