[英]Unable to install package in R
I am getting the error below while installing a package: 安装软件包时出现以下错误:
Warning in install.packages :
unable to move temporary installation ‘E:\R-3.3.2\library\filed603811626\tidytext’ to ‘E:\R-3.3.2\library\tidytext
Please suggest how to resolve this error. 请提出如何解决此错误的建议。
Make sure you install R in your main disk drive (most probably C:/
) 确保将R安装在主磁盘驱动器中(最有可能是
C:/
)
This resolves quite a few problems with moving packages that R does when installing. 这解决了安装R时移动软件包的许多问题。
You can then install all required dependencies with install.packages(c("tm", "tidytext"))
然后,您可以使用
install.packages(c("tm", "tidytext"))
安装所有必需的依赖项。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.