[R-SIG-Mac] cairo_ps stopped working in Yosemite

Simon Urbanek simon.urbanek at r-project.org
Wed Oct 22 00:16:00 CEST 2014


On Oct 21, 2014, at 5:40 PM, Yue Li <gorillayue at gmail.com> wrote:
> 
> Dear List,
> 
> I wonder who have encountered and/or solved the following issue where cairo_ps stopped working due to failure to load cairo.so module after installing Yosemite.
> 

You have to re-install XQuartz
http://xquartz.macosforge.org
after upgrading to Yosemite

Cheers,
Simon



> Thanks a in advance,
> Yue
> 
> 
>> cairo_ps("~/Desktop/test.eps")
> Warning messages:
> 1: In cairo_ps("~/Desktop/test.eps") :
>  unable to load shared object '/Library/Frameworks/R.framework/Resources/library/grDevices/libs//cairo.so':
>  dlopen(/Library/Frameworks/R.framework/Resources/library/grDevices/libs//cairo.so, 6): Library not loaded: /usr/X11/lib/libXrender.1.dylib
>  Referenced from: /Library/Frameworks/R.framework/Resources/library/grDevices/libs//cairo.so
>  Reason: image not found
> 2: In cairo_ps("~/Desktop/test.eps") : failed to load cairo DLL
> 
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> 



More information about the R-SIG-Mac mailing list