我无法在R中安装软件包

我无法在R中安装软件包

问题描述:

当我尝试在Rstudio中安装任何软件包时,出现以下错误消息:

When I try to install any package in Rstudio I get the following error message:

Error in install.packages : path[1]="C:\Users\javad\Documents\.Rhistory\win-library\3.2": The system cannot find the path specified

我该如何解决?

删除目录C:\Users\javad\Documents\.Rhistory

现在尝试安装软件包.这应该可以解决您的问题.

Now try installing the package. This should solve your problem.