Thanks Simon. The warning is gone. Instead, it now crashed every time I do this:
cairo_ps("~/Desktop/test.eps”)
plot(1:10,1:10)
I also noticed that the latest XQuartz 2.7.7 (incl. beta) was released in
2014-08-18 before Yosemite?
Thanks again,
Yue
> On Oct 21, 2014, at 6:16 PM, Simon Urbanek <[email protected]>
> wrote:
>
> On Oct 21, 2014, at 5:40 PM, Yue Li <[email protected]
> <mailto:[email protected]>> 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 <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
>> [email protected] <mailto:[email protected]>
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>> <https://stat.ethz.ch/mailman/listinfo/r-sig-mac>
[[alternative HTML version deleted]]
_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac