I am trying to install rgl package (0.92.858) for R (2.14.2) under Mac OS X (Lion 10.7.3). When I try to load it (library(rgl)), I get the following error:
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/2.14/Resources/library/rgl/libs/x86_64/aglrgl.so':
dlopen(/Library/Frameworks/R.framework/Versions/2.14/Resources/library/rgl/libs/x86_64/aglrgl.so, 6): Symbol not found: __ZN3gui13OSXGUIFactory12hasEventLoopEv
Referenced from: /Library/Frameworks/R.framework/Versions/2.14/Resources/library/rgl/libs/x86_64/aglrgl.so
Expected in: dynamic lookup
I have a Mac with Norwegian keyboard. Maybe this has something to do with the issue? However, I get the same error, even though I change the language to U.S. Has anyone experienced similar problem? Any way solving it?
rgl 0.92.858
from CRAN onR 2.14.2; universal-apple-darwin9.8.0
works fine for me. I don't think your keyboard is an issue there. – Momentarily/private/var/folders/zz/05ksfqx947sf_r5bmxjlvkkc0000gn/T/RtmpX7DezH/R.INSTALL28f7f6a744e/rgl': configure: error: no acceptable C compiler found in $PATH See
config.log' for more details ERROR: configuration failed for package ‘rgl’ – Timbale