我试图通过RMySQL在R中安装install.packages("RMySQL")包,但是它抱怨说它找不到包含库。
Configuration error:
could not find the MySQL installation include and/or library
directories. Manually specify the location of the MySQL
libraries and the header files and re-run R CMD INSTALL.因此,我在Ubuntu中安装了mysql,如下所示:
sudo apt-get install mysql-client这个安装很好,但是我在R中还是有同样的错误,有人能指出正确的方向吗?
发布于 2014-04-25 00:47:56
我查过了
http://packages.ubuntu.com/search?keywords=r-cran-rmysql
因此,您应该在Ubuntu列表中包含r-cran-rmysql包。因此
R中删除DBI、RMySQL包,sudo apt-get install r-cran-rmysqlHTH
https://stackoverflow.com/questions/23281739
复制相似问题