我正在使用R版本3.3.0,其中安装最多的软件包具有3.3.0,3.3.2,3.3.3版本。
不幸的是,我似乎用实际版本覆盖了MASS包。
我需要“vars”包,因此需要更新的批量版本。现在我想再次重新建立旧的质量包。
这个问题有解决方法吗?目前我不想将所有软件包更新为实际版本,因为我不确定后果......
以下是尝试安装旧版本时的错误消息...
谢谢! 托拜厄斯
install.packages("O:/Shared_with_everyone/Rserver/MASS_7.3-45.tar.gz", repos = NULL, type="source")
* installing *source* package 'MASS' ...
** package 'MASS' successfully unpacked and MD5 sums checked
** libs
Warning: running command 'make -f "C:/Users/Public/R-33~1.0/etc/x64/Makeconf" -f "C:/Users/Public/R-33~1.0/share/make/winshlib.mk" SHLIB="MASS.dll" WIN=64 TCLBIN=64 OBJECTS="MASS.o lqs.o"' had status 127
ERROR: compilation failed for package 'MASS'
* removing 'C:/Users/Public/R-3.3.0/library/MASS'
* restoring previous 'C:/Users/Public/R-3.3.0/library/MASS'
Warning messages:
1: running command '"C:/Users/Public/R-3.3.0/bin/x64/R" CMD INSTALL -l "C:\Users\Public\R-3.3.0\library" "O:/Shared_with_everyone/Rserver/MASS_7.3-45.tar.gz"' had status 1
2: In install.packages("O:/Shared_with_everyone/Rserver/MASS_7.3-45.tar.gz", :
installation of package ‘O:/Shared_with_everyone/Rserver/MASS_7.3-45.tar.gz’ had non-zero exit status