yaolanma66
本人是新手,我想安装程序包‘Rsolnp‘,可结果显示:
程序包‘Rsolnp’打开成功,MD5和检查也通过
警告: 无法将临时安装‘D:\Documents\Downloads\软件\R-3.1.1\library\file1a0027c460bf\Rsolnp’搬到‘D:\Documents\Downloads\软件\R-3.1.1\library\Rsolnp’
下载的二进制程序包在
C:\Users\Administrator\AppData\Local\Temp\RtmpMfD8lV\downloaded_packages里
> library(Rsolnp)
错误于library(Rsolnp) : 不存在叫‘Rsolnp’这个名字的程辑包
不知道是为什么啊,求大神指导。多谢了 :cry:
Ihavenothing
安装路径尽量避免使用中文。
yaolanma66
我把安装路径改成英文了,可还是出现警告,不能调用“Rsolnp”包。
结果就是
also installing the dependency ‘truncnorm’
试开URL’http://mirrors.ustc.edu.cn/CRAN/bin/windows/contrib/3.1/truncnorm_1.0-7.zip'
Content type 'application/zip' length 39716 bytes (38 Kb)
打开了URL
downloaded 38 Kb
试开URL’http://mirrors.ustc.edu.cn/CRAN/bin/windows/contrib/3.1/Rsolnp_1.15.zip'
Content type 'application/zip' length 166402 bytes (162 Kb)
打开了URL
downloaded 162 Kb
程序包‘truncnorm’打开成功,MD5和检查也通过
程序包‘Rsolnp’打开成功,MD5和检查也通过
警告: 无法将临时安装‘D:\software\software\R-3.1.1\library\file214433c3336c\Rsolnp’搬到‘D:\software\software\R-3.1.1\library\Rsolnp’
下载的二进制程序包在
C:\Users\Administrator\AppData\Local\Temp\RtmpsbJpQk\downloaded_packages里
cauwinphone
没有问题,可以安装啊:
> install.packages("Rsolnp")
Installing package into ‘F:/Users/chenwf/Documents/R/win-library/3.1’
(as ‘lib’ is unspecified)
also installing the dependency ‘truncnorm’
trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.1/truncnorm_1.0-7.zip'
Content type 'application/zip' length 39716 bytes (38 Kb)
opened URL
downloaded 38 Kb
trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.1/Rsolnp_1.15.zip'
Content type 'application/zip' length 166402 bytes (162 Kb)
opened URL
downloaded 162 Kb
package ‘truncnorm’ successfully unpacked and MD5 sums checked
package ‘Rsolnp’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
F:\Users\chenwf\AppData\Local\Temp\RtmpSmxaPD\downloaded_packages
> library(Rsolnp)
Loading required package: truncnorm
Loading required package: parallel
Warning messages:
1: package ‘Rsolnp’ was built under R version 3.1.2
2: package ‘truncnorm’ was built under R version 3.1.2
yaolanma66
不知为什么,我的非要关闭所有的杀毒软件才可安装成功