[R-SIG-Mac] Cairo png device not working in R 3.2.1 on OSX

Jeroen Ooms jeroen.ooms at stat.ucla.edu
Thu Aug 13 16:43:24 CEST 2015


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]]



More information about the R-SIG-Mac mailing list