在R 3.2.2上安装本地程序包失败

时间:2016-03-31 08:50:47

标签: r r-package

在我的自定义R版本上安装旧版本的插入符号是一种负担。 我尝试使用RStudio安装工具,但失败了

我尝试了命令:

pathToFile <- "C:/Users/Fsociety/Desktop/caret_5.17-7.tar"
install.packages(pathToFile,repos = NULL, type = "source")

我收到了这个错误:

Warning: invalid package 'C:/Users/Fsociety/Desktop/caret_5.17-7.tar'
Error: ERROR: no packages specified
Warning in install.packages :
  running command '"C:/PROGRA~1/RRO/RRO-32~1.0/R-32~1.2/bin/x64/R" CMD INSTALL -l "C:\Users\Fsociety\Documents\R\win-library\3.2" "C:/Users/Fsociety/Desktop/caret_5.17-7.tar"' had status 1
Warning in install.packages :
  installation of package ‘C:/Users/Fsociety/Desktop/caret_5.17-7.tar’ had non-zero exit status

我可以修复install.package有什么问题吗?

0 个答案:

没有答案