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

Yue Li gorillayue at gmail.com
Tue Oct 21 23:40:13 CEST 2014

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.

Thanks a in advance,

> 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

More information about the R-SIG-Mac mailing list