Skip to content

Compiling Cairo

1 message · Zhang Xinlian

#
I used brew install R to install R and I use the most recent version of 
Rstudio. And when I use the "export" in Rstudio, it tells me the following. 
Warning messages:
1: In cairo_pdf(file = "/Users/xinlianzhang/Desktop/Rplot.pdf", width = 
5.22917,  :
  unable to load shared object 
'/usr/local/Cellar/r/3.2.0_1/R.framework/Resources/library/grDevices/libs//cairo.so':
  
dlopen(/usr/local/Cellar/r/3.2.0_1/R.framework/Resources/library/grDevices/libs//cairo.so, 
6): Library not loaded: /usr/local/lib/libjpeg.8.dylib
  Referenced from: 
/usr/local/Cellar/r/3.2.0_1/R.framework/Resources/library/grDevices/libs//cairo.so
  Reason: Incompatible library version: cairo.so requires version 13.0.0 or 
later, but libjpeg.8.dylib provides version 12.0.0
2: In cairo_pdf(file = "/Users/xinlianzhang/Desktop/Rplot.pdf", width = 
5.22917,  :
  failed to load cairo DLL


? 2015?4?8???? UTC-4??7:28:51?O'Hanlon, Simon J???
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://stat.ethz.ch/pipermail/r-sig-mac/attachments/20150604/cde2c58a/attachment-0002.html>