Question: Fail to load openCyto
0
gravatar for justinyi10
2.4 years ago by
justinyi1010
justinyi1010 wrote:

Hello,

I am trying to load the openCyto package, however whenever I try to I receive an error message which states

library("openCyto", lib.loc="/Library/Frameworks/R.framework/Versions/3.4/Resources/library")
Error: package or namespace load failed for ‘openCyto’:
 .onLoad failed in loadNamespace() for 'rgl', details:
  call: dyn.load(file, DLLpath = DLLpath, ...)
  error: unable to load shared object '/Library/Frameworks/R.framework/Versions/3.4/Resources/library/rgl/libs/rgl.so':
  dlopen(/Library/Frameworks/R.framework/Versions/3.4/Resources/library/rgl/libs/rgl.so, 6): Library not loaded: /opt/X11/lib/libGLU.1.dylib
  Referenced from: /Library/Frameworks/R.framework/Versions/3.4/Resources/library/rgl/libs/rgl.so
  Reason: image not found

How do I address this?

opencyto bioconductor • 353 views
ADD COMMENTlink modified 2.4 years ago by Martin Morgan ♦♦ 24k • written 2.4 years ago by justinyi1010
Answer: Fail to load openCyto
0
gravatar for Martin Morgan
2.4 years ago by
Martin Morgan ♦♦ 24k
United States
Martin Morgan ♦♦ 24k wrote:

Looks like a problem with rgl instead of openCyto. From the CRAN landing page of rgl, the system requirements include OpenGL, GLU Library, XQuartz (on OSX), so I suppose that you do not have one or more of those installed, or they are installed but not in the location expected (/opt/X11/lib/ in the error above. So probably you need to make your system conform with these expectations, or build rgl from source as outlined in the README file.

ADD COMMENTlink written 2.4 years ago by Martin Morgan ♦♦ 24k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 289 users visited in the last hour