R magick 包安装包错

R magick 包安装包错

做富集分析这里报错:


In bitr(DEG_list, fromType = opt$idtype, toType = opt$totype, OrgDb = opt$ann.db) :

  26.02% of input gene IDs are fail to map...

--> No gene can be mapped....

--> Expected input gene ID:

--> return NULL...

NULL

Error in (function (classes, fdef, mtable)  :

  unable to find an inherited method for function ‘dotplot’ for signature ‘"NULL"’

Calls: dotplot -> <Anonymous>


查了下需要升级R包:clusterProfiler等等

但是升级不成功:说magick安装不上,这里报错:


Error: package or namespace load failed for ‘magick’ in dyn.load(file, DLLpath = DLLpath, ...):

 unable to load shared object '/share/work/biosoft/R/R-v4.2.0/lib64/R/library/00LOCK-magick/00new/magick/libs/magick.so':

  /share/work/biosoft/R/R-v4.2.0/lib64/R/library/00LOCK-magick/00new/magick/libs/magick.so: undefined symbol: _ZN6Magick5Image5writeEPNS_4BlobERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEm

Error: loading failed

Execution halted

ERROR: loading failed

* removing ‘/share/work/biosoft/R/R-v4.2.0/lib64/R/library/magick’

* restoring previous ‘/share/work/biosoft/R/R-v4.2.0/lib64/R/library/magick’

Warning message:


解决办法手动高版本的ImageMagick,之后手动安装magick包:

PKG_CONFIG_PATH=/share/work/biosoft/ImageMagick/ImageMagick-v7.1.0-62/lib/pkgconfig/ R CMD INSTALL magick_2.8.0.tar.gz


再重新升级:clusterProfiler

  • 发表于 2023-10-10 19:50
  • 阅读 ( 1466 )
  • 分类:R

0 条评论

请先 登录 后评论
omicsgene
omicsgene

生物信息

698 篇文章

作家榜 »

  1. omicsgene 698 文章
  2. 安生水 347 文章
  3. Daitoue 167 文章
  4. 生物女学霸 120 文章
  5. xun 82 文章
  6. 红橙子 78 文章
  7. rzx 74 文章
  8. CORNERSTONE 72 文章