Skip to content

rgl broken with 2.15.1?

3 messages · Peter Dalgaard, Duncan Murdoch, Michael Kubovy

#
(Why do we get an identical post 2 weeks later??)

I see slightly different trouble:
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.15/Resources/library/rgl/libs/x86_64/aglrgl.so':
  dlopen(/Library/Frameworks/R.framework/Versions/2.15/Resources/library/rgl/libs/x86_64/aglrgl.so, 6): Symbol not found: __ZN3gui13OSXGUIFactory12hasEventLoopEv
  Referenced from: /Library/Frameworks/R.framework/Versions/2.15/Resources/library/rgl/libs/x86_64/aglrgl.so
  Expected in: dynamic lookup

Error: package/namespace load failed for ?rgl?
-------------

The odd thing is, it happens only in R.app 64 bit, not in 32 bit and not in R64 in Terminal.app.  Same pattern was present in 2.15.0.
On Jun 29, 2012, at 18:39 , Michael Kubovy wrote:

            

  
    
#
On 12/07/2012 9:36 AM, peter dalgaard wrote:
The workaround for the problem you're seeing is just to delete the 
aglrgl.so library.  It doesn't work on the latest OSX release in 64 
bits.  (I suspect that's caused by rgl using an API that Apple no longer 
offers, but I don't know a fix.)  The command line version uses the X11 
driver, and R.app 64 bit will fall back to that if aglrgl.so is not found.

I don't know what's causing Michael's problem and doubt if the same 
workaround would help, but it probably wouldn't hurt.

Duncan Murdoch