我最近将R 3.2.2和RStudio下载到Windows 7 64位PC。我可以安装软件包,但之后无法安装ggplot2和dplyr等库。
当我尝试安装库时,我收到以下错误:
Error in get(method, envir = home) :
cannot open file 'C:/Users/dm/Documents/R/R-3.2.2/library/digest/R/digest.rdb': No such file or directory
In addition: Warning messages:
1: In .registerS3method(fin[i, 1], fin[i, 2], fin[i, 3], fin[i, 4], :
restarting interrupted promise evaluation
2: In get(method, envir = home) :
restarting interrupted promise evaluation
Error: package or namespace load failed for ‘ggplot2’
我尝试使用另一篇文章中提到的install.packages("ggplot2", dependencies = TRUE)
,但问题仍然存在。我也试过更换CRAN镜子,但无济于事。
感谢任何帮助。