On Fri, Nov 23, 2012 at 3:29 AM, li1127217ye <li112721...@163.com> wrote:
> I had installed R and MySQL ,then I input :
>> install.packages('RMySQL',type='source')
> show the message below, Why? Why shows   "ERROR: configuration failed for
> package 'RMySQL'"?
>
> 试开URL’http://mirrors.xmu.edu.cn/CRAN/src/contrib/RMySQL_0.9-3.tar.gz'
> Content type 'application/x-gzip' length 165363 bytes (161 Kb)
> 打开了URL
> downloaded 161 Kb
>
> * installing *source* package 'RMySQL' ...
> ** 成功将'RMySQL'程序包解包并MD5和检查
> ERROR: configuration failed for package 'RMySQL'
> * removing 'F:/Program Files/R/R-2.15.2/library/RMySQL'
>
> 下载的程序包在
>
> ‘C:\Users\Administrator\AppData\Local\Temp\RtmpmeIp6y\downloaded_packages’里
> 警告信息:
> 1: 运行命令'F:/PROGRA~1/R/R-215~1.2/bin/i386/R CMD INSTALL -l "F:/Program
> Files/R/R-2.15.2/library"
> C:\Users\ADMINI~1\AppData\Local\Temp\RtmpmeIp6y/downloaded_packages/RMySQL_0.9-3.tar.gz'的状态是1
> 2: In install.packages("RMySQL", type = "source") :
>   安装程序包‘RMySQL’时退出���B的值不是0
>

I can't tell from that output what the problem is but recently a user
reported that the dll files in their MySQL distribution were not at
the place expected by the installer.  Check out this in case its the
same problem:

http://r.789695.n4.nabble.com/RMySQL-install-on-windows-tp4645629p4649628.html

--
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to