无法安装脱字号软件包

时间:2019-12-12 22:11:04

标签: r

我不确定这里发生了什么,但插入符号包未正确安装。我意识到之前已经发布过类似的问题,但我不知道。

install.packages("caret")
library(caret)
Error: package or namespace load failed for ‘caret’ in get(Info[i, 1], envir = env):
cannot open file 'C:/Users/John Compton/Documents/R/win-library/3.6/MASS/R/MASS.rdb': No such file or directory

所以我一直在努力解决这个问题。我已经完全更新了R 3.6.1,我还运行了类似的东西,就像install.packages(“ caret”,repos =“ cran / ....”,c =(“ Dependencies”,“建议”))耗时约30分钟,并且像每个建议的软件包一样进行安装,因此我不知道可能是什么错误。如何解决此程序包中的错误?

编辑:包括install.package调用

> install.packages("caret")
Installing package into ‘C:/Users/John Compton/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/caret_6.0-84.zip'
Content type 'application/zip' length 6237886 bytes (5.9 MB)
downloaded 5.9 MB

package ‘caret’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
    C:\Users\John Compton\AppData\Local\Temp\RtmpGuKafa\downloaded_packages
> 

0 个答案:

没有答案