** demo
** inst
** byte-compile and prepare package for lazy loading
^A** 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 ‘igraph’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/share/biosoft/R/R-v4.2.2/lib64/R/library/00LOCK-igraph/00new/igraph/libs/igraph.so':
libglpk.so.36: cannot open shared object file: No such file or directory
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/share/biosoft/R/R-v4.2.2/lib64/R/library/igraph’
* restoring previous ‘/share/biosoft/R/R-v4.2.2/lib64/R/library/igraph’
解决:
更新一下glpk 库:
sudo yum install glpk glpk-devel
再安装:
R CMD INSTALL igraph_2.1.1.tar.gz
如果觉得我的文章对您有用,请随意打赏。你的支持将鼓励我继续创作!