我正在尝试在 Mac OS X(Lion 10.7.3)下为 R(2.14.2)安装 rgl 包(0.92.858)。当我尝试加载它(库(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/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
我有一台带有挪威语键盘的 Mac。也许这与问题有关?但是,即使我将语言更改为 US,我也会遇到同样的错误。有没有人遇到过类似的问题?有什么办法解决吗?