无法从存档安装R包

时间:2016-07-19 12:33:42

标签: r archive cran

我想在我的Windows机器上安装“fume”软件包。我通过在控制台中提供以下命令来尝试此操作:

install.packages("https://cran.r- project.org/src/contrib/Archive/fume/fume_1.0.tar.gz", repos = NULL, type ="source", INSTALL_opts = c('--no-lock'))

然后我得到以下结果:

* installing *source* package 'fume' ...
** package 'fume' successfully unpacked and MD5 sums checked
** R
** data
** preparing package for lazy loading
Warning: package 'chron' was built under R version 3.3.1
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
Warning in library(pkg_name, lib.loc = lib, character.only = TRUE, logical.return = TRUE) :
  there is no package called 'fume'
Error: loading failed
Execution halted
ERROR: loading failed
* removing '\\COMPANY.local/users$/NAME/R/win-library/3.3/fume'
Warning in install.packages :
  running command '"F:/R/R-33~1.0/bin/x64/R" CMD INSTALL --no-lock -l "\\COMPAMY.local\users$\NAME\R\win-library\3.3" "C:/Users/NAME~1.NAME/AppData/Local/Temp/RtmpKY2Wsg/downloaded_packages/fume_1.0.tar.gz"' had status 1
Warning in install.packages :
  installation of package ‘C:/Users/NAME~1.NAME/AppData/Local/Temp/RtmpKY2Wsg/downloaded_packages/fume_1.0.tar.gz’ had non-zero exit status

有关如何正确安装此软件包的任何想法吗?

0 个答案:

没有答案