Rstudio-Server安装igraph报错解决


加载igraph时报错:

错误: package or namespace load failed for ‘phyloseq’ in dyn.load(file, DLLpath = DLLpath, ...):
 无法载入共享目标对象‘/usr/local/lib/R/site-library/igraph/libs/igraph.so’::
  libglpk.so.40: 无法打开共享对象文件: 没有那个文件或目录

还好我有管理员权限(很害怕这样操作的……):

sudo apt-get install libglpk40

Reprint policy: All articles in this blog are used except for special statements CC BY 4.0 reprint policy. If reproduced, please indicate source 李详【Xiang LI】 !