The cairo png device on R 3.2.1 gives a warning "Application built with
libpng-1.5.18 but running with 1.6.17" and then produces a completely blank
png image.
if(isTRUE(capabilities()[["cairo"]])){
options(bitmapType = "cairo");
}
png(tmp <- tempfile())
plot(cars)
dev.off()
system2("open", tmp)
Cairo png device not working in R 3.2.1 on OSX
2 messages · Jeroen Ooms, Peter Dalgaard
That particular horse has been flogged to death repeatedly over the last weeks. Please try 3.2.2 RC. -pd
On 13 Aug 2015, at 16:43 , Jeroen Ooms <jeroen.ooms at stat.ucla.edu> wrote:
The cairo png device on R 3.2.1 gives a warning "Application built with
libpng-1.5.18 but running with 1.6.17" and then produces a completely blank
png image.
if(isTRUE(capabilities()[["cairo"]])){
options(bitmapType = "cairo");
}
png(tmp <- tempfile())
plot(cars)
dev.off()
system2("open", tmp)
[[alternative HTML version deleted]]
_______________________________________________ R-SIG-Mac mailing list R-SIG-Mac at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com