[R-SIG-Mac] [SOLVED] Persistent inability to load rgl (spinning beachball hang)

David Winsemius dwinsemius at comcast.net
Sun Dec 31 02:53:19 CET 2017


> On Dec 30, 2017, at 5:51 PM, David Winsemius <dwinsemius at comcast.net> wrote:
> 
> After successfully installing RQuantLib from sources, I went to run its demos and got a fatal "beachball". 
> 
> Tried running R from Terminal with R --vanilla
> 
> The demos() panel says that rgl is required and that seemed not to be a difficulty since I had used it many times in the past.
> 
> Tried loading rgl ... beachball.
> 
> Tried reinstalling XQuartz (and restarting Mac)
> 
> Tried Launching XQuartz and got an apple  error saying:

Actually was the libTIFF sectoion that applied and succeeded:


# Fix libTIFF

    dyld: Symbol not found: __cg_TIFFClientOpen
      Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
      Expected in: /usr/local/lib/libTIFF.dylib
     in /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
    Trace/BPT trap

    sudo cp /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Resources/libTIFF.dylib /usr/local/lib/

> 

> 
> dyld: Symbol not found: __cg_jpeg_resync_to_restart
>      Referenced from: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
>      Expected in: /usr/local/lib/libJPEG.dylib
> 
> So searched on the error message and tried this fix from https://gist.github.com/leonardoborges/2549670
> 
> 
> sudo cp /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Resources/libJPEG.dylib /usr/local/lib/libJPEG.dylib
> 
> 
> Voila! No further difficulties.
> 
> -- 
> David Winsemius
> Alameda, CA, USA
> 
> 'Any technology distinguishable from magic is insufficiently advanced.'   -Gehm's Corollary to Clarke's Third Law
> 
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

David Winsemius
Alameda, CA, USA

'Any technology distinguishable from magic is insufficiently advanced.'   -Gehm's Corollary to Clarke's Third Law



More information about the R-SIG-Mac mailing list