我的R软件下载安装包出现了以下问题,以下载reshape2为例(其他的包也会出现类似的情况),R语言编辑框中出现了以下语句:
> install.packages("reshape2")
trying URL 'http://mirror.bjtu.edu.cn/cran/bin/windows/contrib/3.1/reshape2_1.4.1.zip'
Content type 'application/zip' length 503565 bytes (491 KB)
opened URL
downloaded 491 KB
package ‘reshape2’ successfully unpacked and MD5 sums checked
Warning in install.packages :
unable to move temporary installation ‘D:\Program Files\R\R-3.1.3\library\file16a84f1f320b\reshape2’ to ‘D:\Program Files\R\R-3.1.3\library\reshape2’
The downloaded binary packages are in
C:\Users\Administrator\AppData\Local\Temp\RtmpaOyzIy\downloaded_packages
> library(reshape2)
Error in library(reshape2) : 不存在叫‘reshape2’这个名字的程辑包
>
不是不存在什么包,主要提示那个unable to move temporary installation ‘D:\Program Files\R\R-3.1.3\library\file16a84f1f320b\reshape2’ to ‘D:\Program Files\R\R-3.1.3\library\reshape2’,不知怎么回事