png(cairo=TRUE) fails

94 views
Skip to first unread message

Dan Kelley

unread,
Sep 6, 2015, 6:59:31 AM9/6/15
to Revolution R Open

The following works in "normal" R 3.2.2; perhaps RRO didn't follow the [bug reports](https://bugs.r-project.org/bugzilla/show_bug.cgi?id=16435)


```r

> png("adp.png", width=6, height=5, unit="in", res=150, pointsize=14, type="cairo")

Warning messages:

1: In png("adp.png", width = 6, height = 5, unit = "in", res = 150,  :

  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/local/lib/libfreetype.6.dylib

  Referenced from: /Library/Frameworks/R.framework/Resources/library/grDevices/libs//cairo.so

  Reason: image not found

2: In png("adp.png", width = 6, height = 5, unit = "in", res = 150,  :

  failed to load cairo DLL

```

jmar...@microsoft.com

unread,
Sep 9, 2015, 8:27:25 AM9/9/15
to Revolution R Open
Hi Dan,

Thank you for your report.  You can follow the issue here going forward. 
We are investigating.

Regards,

Josée Martens
Revolution Analytics, a Microsoft company

jmar...@microsoft.com

unread,
Oct 8, 2015, 6:04:44 PM10/8/15
to Revolution R Open
Hello,

We have just released a hotfix for RRO 3.2.2 on Mac OS X to address the issue you reported.


You can download it from here: https://mran.revolutionanalytics.com/download/#download


As always, we welcome comments, suggestions and other discussion in the RRO Google Group


Reply all
Reply to author
Forward
0 new messages