Cairo 'Out of memory' error
On Dec 5, 2009, at 4:55 PM, John Maindonald wrote:
I am using R from ESS, with X11 as the default graphics device. In due course, when I run a function that tries to open a new graphics window, I get the message:
g10.6()
Error in X11(d$display, d$width, d$height, d$pointsize, d$gamma, d$colortype, : unable to start device X11cairo In addition: Warning message: In device.call(...) : cairo error 'out of memory' This was happening also under R-2.9.1; decided I had better report/inquire. I then have the choice of opening a quartz window, or restarting both R and X11.
You may want to report that to R-devel (possibly with more details such as a reproducible example - I don't think g10.6() is in any recommended package...) since the X11 device is not Mac-specific. Thanks, Simon
-----------------------------------------------------------------------------------
sessionInfo()
R version 2.10.0 (2009-10-26) i386-apple-darwin9.8.0 locale: [1] C attached base packages: [1] stats graphics grDevices datasets utils grid methods [8] base other attached packages: [1] DAAG_1.01 randomForest_4.5-33 rpart_3.1-45 [4] MASS_7.3-4 lme4_0.999375-32 Matrix_0.999375-32 [7] lattice_0.17-26 reshape_0.8.3 plyr_0.1.9 [10] proto_0.3-8 loaded via a namespace (and not attached): [1] coda_0.13-4 ggplot2_0.8.3 tools_2.10.0 John Maindonald email: john.maindonald at anu.edu.au phone : +61 2 (6125)3473 fax : +61 2(6125)5549 Centre for Mathematics & Its Applications, Room 1194, John Dedman Mathematical Sciences Building (Building 27) Australian National University, Canberra ACT 0200. http://www.maths.anu.edu.au/~johnm
_______________________________________________ R-SIG-Mac mailing list R-SIG-Mac at stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-mac