unable to find Lumi package in R
1
0
Entering edit mode
nayeli0126 • 0
@nayeli0126-9816
Last seen 8.2 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 • 2.1k views
ADD COMMENT
1
Entering edit mode
@steve-lianoglou-2771
Last seen 14 months 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.

ADD COMMENT
0
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.

ADD REPLY

Login before adding your answer.

Traffic: 818 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

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

Powered by the version 2.3.6