我正在尝试重新安装以前能够安装和使用的软件包.我的计算机意外重启后,我正在构建自己的包,然后我开始在加载rpgraph包时遇到问题.所以我决定卸载它并重新安装它.当我这样做时,我收到以下错误:
原文链接:https://www.f2er.com/javaschema/282050.htmllibrary(devtools) library(rJava) install_github("Albluca/rpgraph") Downloading GitHub repo Albluca/rpgraph@master from URL https://api.github.com/repos/Albluca/rpgraph/zipball/master Installing rpgraph Running command /usr/lib/R/bin/R Arguments: CMD INSTALL /tmp/Rtmp5OrtLL/devtools505a703b3ccd/Albluca-rpgraph-de04f96 --library=/home/gonzalo/R/x86_64-pc-linux-gnu-library/3.4 --install-tests installing source package ‘rpgraph’ ... ** R ** data *** moving datasets to lazyload DB ** inst ** preparing package for lazy loading ** help *** installing help indices ** building package indices ** installing vignettes ** testing if installed package can be loaded Segmentation fault (core dumped) ERROR: loading Failed removing ‘/home/gonzalo/R/x86_64-pc-linux-gnu-library/3.4/rpgraph’ Installation Failed: run(bin,args = real_cmdargs,stdout_line_callback = real_callback(stdout),stderr_line_callback = real_callback(stderr),stdout_callback = real_block_callback,stderr_callback = real_block_callback,echo_cmd = echo,echo = show,spinner = spinner,error_on_status = fail_on_status,timeout = timeout) : System command error`
我尝试从零重新安装JAva和cran,但不知何故,我的系统中仍有一些东西可以避免安装软件包.此外,由于错误信息不是很丰富,我不知道如何缩小问题的范围.
感谢您的任何帮助,您可以提供.