[R-SIG-Mac] Cairo 'Out of memory' error

John Maindonald john.maindonald at anu.edu.au
Sat Dec 5 22:55:46 CET 2009

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.


> sessionInfo()
R version 2.10.0 (2009-10-26) 

[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.

More information about the R-SIG-Mac mailing list