为了在 HPC 节点上安装另一个依赖于 vroom(失败)的软件包,我试图手动安装 vroom。
我尝试手动安装软件包,但也失败了:
我的代码:
install.packages("vroom")
错误信息:
installing to /home/leuph1/R/x86_64-pc-linux-gnu-library/4.0/00LOCK-vroom/00new/vroom/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for ‘vroom’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/home/leuph1/R/x86_64-pc-linux-gnu-library/4.0/00LOCK-vroom/00new/vroom/libs/vroom.so':
/home/leuph1/R/x86_64-pc-linux-gnu-library/4.0/00LOCK-vroom/00new/vroom/libs/vroom.so: undefined symbol: __cxa_init_primary_exception
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/home/leuph1/R/x86_64-pc-linux-gnu-library/4.0/vroom’
Warning in install.packages :
installation of package ‘vroom’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpgPcp9Y/downloaded_packages’
我尝试过不同的 R 版本(3.5.3 到 4.1.1),但无论我选择什么版本,都会遇到同样的问题。
我还删除了在相应 R 版本包文件夹中的过程中可能出现的任何 00LOCK-“包名称”文件夹,但无济于事。
有人可以帮我吗?
提前谢谢了,
菲利伯图斯88