[R-SIG-Mac] CairoPNG() produces empty file on Snow Leopard
Dan Tenenbaum
dtenenba at fredhutch.org
Sat Jul 11 01:32:57 CEST 2015
Hi,
library(Cairo)
CairoPNG("foo.png")
plot(1:10)
dev.off()
Creates an empty foo.png file. But it works on Mavericks, Linux, and Windows.
> sessionInfo()
R version 3.2.1 (2015-06-18)
Platform: x86_64-apple-darwin10.8.0 (64-bit)
Running under: OS X 10.6.8 (Snow Leopard)
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] Cairo_1.5-6
loaded via a namespace (and not attached):
[1] tools_3.2.1
Thanks,
Dan
More information about the R-SIG-Mac
mailing list