概述
我试图在R中安装
MySQL包但无法正确安装包.这是我用过的代码
install.packages('RMySQL',type='source')
我得到的错误就像
Installing package into ‘C:/Users/Techrains/Documents/R/win-library/3.1’
(as ‘lib’ is unspecified)
trying URL 'http://ftp.iitm.ac.in/cran/src/contrib/RMySQL_0.9-3.tar.gz'
Content type 'application/x-gzip' length 165363 bytes (161 Kb)
opened URL
downloaded 161 Kb
* installing *source* package 'RMySQL' ...
** package 'RMySQL' successfully unpacked and MD5 sums checked
Warning: running command 'sh ./configure.win' had status 127
ERROR: configuration failed for package 'RMySQL'
* removing 'C:/Users/Techrains/Documents/R/win-library/3.1/RMySQL'
The downloaded source packages are in
‘C:UsersTechrainsAppDataLocalTempRtmp8ihccfdownloaded_packages’
Warning messages:
1: running command '"C:/PROGRA~1/R/R-31~1.1/bin/i386/R" CMD INSTALL -l "C:UsersTechrainsDocumentsRwin-library3.1" C:UsersTECHRA~1AppDataLocalTempRtmp8ihccf/downloaded_packages/RMySQL_0.9-3.tar.gz' had status 1
2: In install.packages("RMySQL", type = "source") :
installation of package ‘RMySQL’ had non-zero exit status
我是R的新手.任何人都可以帮助我,我将不胜感激.
提前致谢.
最后
以上就是平常篮球为你收集整理的安装mysql包_在R中安装MySQL包的全部内容,希望文章能够帮你解决安装mysql包_在R中安装MySQL包所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复