1

I am having problems with using rgl package after installing the rgal package. I am having a mac version 10.10.3 Yosemite installed and R studio of R version 3.2.0 (2015-04-16). Let me know how I can install this correctly. I tried removing the rgl.so file by deleting but still the problem persists. Any thoughts?

 library(rgl) 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 ‘rgl’ 

1 Answer 1

1

I just had this exact error message. After trying to install multiple previous versions both direct from CRAN url and via the command line I finally had success by updating xquartz.

Thanks to rawr via Pascal!

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.