首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >安装Bioconductor高吞吐量分析工作流会出现rgl错误,无法加载

安装Bioconductor高吞吐量分析工作流会出现rgl错误,无法加载
EN

Stack Overflow用户
提问于 2017-02-11 05:28:54
回答 1查看 42关注 0票数 0

当我尝试安装bioconductor工作流'highthroughputassays‘时,如下所示(和作为described here):

代码语言:javascript
复制
> source("http://bioconductor.org/workflows.R")
> workflowInstall("highthroughputassays")

它安装了许多依赖包,但就在结束安装之前,它给出了以下错误:

代码语言:javascript
复制
No man pages found in package  ‘highthroughputassays’ 
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
Error : .onLoad failed in loadNamespace() for 'rgl', details:
call: dyn.load(file, DLLpath = DLLpath, ...)
error: unable to load shared object '/Users/johansenkh/Library/R/3.3/library/rgl/libs/rgl.so':
dlopen(/Users/johansenkh/Library/R/3.3/library/rgl/libs/rgl.so, 6): Library not loaded: /opt/X11/lib/libGLU.1.dylib
Referenced from: /Users/johansenkh/Library/R/3.3/library/rgl/libs/rgl.so
Reason: image not found
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/Users/johansenkh/Library/R/3.3/library/highthroughputassays’
Warning in install.packages :
installation of package ‘highthroughputassays’ had non-zero exit status

The downloaded source packages are in
‘/private/var/folders/hb/sc3x6vtj0ys009qnyplbp2_h1g5hgm/T/RtmpDkWkRH/downloaded_packages’

由于这些错误,工作流不会加载;

代码语言:javascript
复制
library(flowStats)

在如上所述安装软件包后给出类似的错误。

我已经在3台不同的Mac电脑上试用过了(都安装了最新的OS X,但其中一台安装的是3.3.1版本的R(最新版本是3.3.2))

在尝试library(rgl)时,我得到以下错误:

代码语言:javascript
复制
Error : .onLoad failed in loadNamespace() for 'rgl', details:
call: dyn.load(file, DLLpath = DLLpath, ...)
error: unable to load shared object '/Users/johansenkh/Library/R/3.3/library/rgl/libs/rgl.so':
dlopen(/Users/johansenkh/Library/R/3.3/library/rgl/libs/rgl.so, 6): Library not loaded: /opt/X11/lib/libGLU.1.dylib
Referenced from: /Users/johansenkh/Library/R/3.3/library/rgl/libs/rgl.so
Reason: image not found
Error: package or namespace load failed for ‘rgl’
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2017-02-15 23:03:58

我解决这个问题的方法如下:

问题出在加载“rgl”时。

通过安装XQUARTZ (www.XQUARTZ.com),然后重启OS (注销和登录),rgl-package工作。然后,如上所述安装工作流。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/42168939

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档