unable to find Lumi package in R
Entering edit mode
nayeli0126 • 0
Last seen 6.6 years ago

I am using Bioconductor 3.2, R 3.2.3 and cannot seem to get Lumi to operate. Everytime I try to initaite lumi I get this error

> library(lumi)
Error : .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.2/Resources/library/rgl/libs/rgl.so':
  dlopen(/Library/Frameworks/R.framework/Versions/3.2/Resources/library/rgl/libs/rgl.so, 6): Library not loaded: /opt/X11/lib/libGLU.1.dylib
  Referenced from: /Library/Frameworks/R.framework/Versions/3.2/Resources/library/rgl/libs/rgl.so
  Reason: image not found
Error: package or namespace load failed for ‘lumi’



I have uninstalled and re-installed R and tried installing thorugh package instead of using biocLite. I was only able to get it to work for a short amount of time but I had to use an older version of R which is not compatible with lumiHumanAll.db which I also need.


Any help would be appreciated


lumi • 1.6k views
Entering edit mode
Last seen 4 weeks ago
United States

The error is due to lumi (apparently) trying to load the rgl package, which (in turn) requires that you have a working X11 installed on your system.

According to this stackoverflow thread, you just need to go download XQuartz from macosforge onto your system and you should be good to go.

Install that, then make sure you can load the rgl package (via library(rgl)) then you can proceed from there. Definitely stick with the most current version of R/biocondcutor.

Entering edit mode

Also note that according to the XQuartz doc, after installing XQuartz, you need to log out of your Mac and log back in before XQuartz will work.


Login before adding your answer.

Traffic: 238 users visited in the last hour
Help About
Access RSS

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6