将项目从本地计算机导入到基于服务器的rStudio环境时遇到麻烦,当我使用指定的存储库和指南时,当我尝试恢复本地packrat库时出现此错误:
Installing Matrix (1.2-10) ...
[1] "Command failed (1)\n\nFailed to run system command:\n\n\t'/usr/lib/R/bin/R' --vanilla CMD INSTALL '/tmp/RtmpKwkp2a/Matrix' --library='/home/robinzacha/51_SocialCharging-master-4f660542fd180508e8e7fbbd0f88d6569ec89acc/packrat/lib/x86_64-pc-linux-gnu/3.3.3' --install-tests --no-docs --no-multiarch --no-demo \n\nThe command failed with output:\n* installing *source* package 'Matrix' ...\n** package 'Matrix' successfully unpacked and MD5 sums checked\n** libs\nmake[1]: Entering directory `/tmp/RtmpKwkp2a/Matrix/src/CHOLMOD'\n( cd Lib ; make clean )\nmake[2]: Entering directory `/tmp/RtmpKwkp2a/Matrix/src/CHOLMOD/Lib'\nmake[2]: Leaving directory `/tmp/RtmpKwkp2a/Matrix/src/CHOLMOD/Lib'\nmake[1]: Leaving directory `/tmp/RtmpKwkp2a/Matrix/src/CHOLMOD'\nmake[1]: Entering directory `/tmp/RtmpKwkp2a/Matrix/src/COLAMD'\n( cd Source ; make clean )\nmake[2]: Entering directory `/tmp/RtmpKwkp2a/Matrix/src/COLAMD/Source'\nmake[2]: Leaving directory `/tmp/RtmpKwkp2a/Matrix/src/COLAMD/Source'\nmak... <truncated>
错误:命令失败(1)
Failed to run system command:
'/usr/lib/R/bin/R' --vanilla CMD INSTALL '/tmp/RtmpKwkp2a/Matrix' --library='/home/robinzacha/51_SocialCharging-master-4f660542fd180508e8e7fbbd0f88d6569ec89acc/packrat/lib/x86_64-pc-linux-gnu/3.3.3' --install-tests --no-docs --no-multiarch --no-demo
命令失败并带有输出:
*安装源包'Matrix'...
**包'Matrix'成功解压缩并检查MD5总和
** libs
make [1]:输入目录/tmp/RtmpKwkp2a/Matrix/src/CHOLMOD'
( cd Lib ; make clean )
make[2]: Entering directory
/ tmp / RtmpKwkp2a / Matrix / src / CHOLMOD / Lib'
make [2]:离开目录/tmp/RtmpKwkp2a/Matrix/src/CHOLMOD/Lib'
make[1]: Leaving directory
/ tmp / RtmpKwkp2a / Matrix / src / CHOLMOD'
make [1]:输入目录/tmp/RtmpKwkp2a/Matrix/src/COLAMD'
( cd Source ; make clean )
make[2]: Entering directory
/ tmp / RtmpKwkp2a / Matrix / src / COLAMD / Source'
make [2]:离开目录`/ tmp / RtmpKwkp2a / Matrix / src / COLAMD / Source'
make [1]:离开dir
有人有想法解决这个问题吗?我在网上搜索了类似的问题,并且没有任何运气找到对我的理解有用的东西。
提前致谢!