Skip to content
Back to formatted view

Raw Message

Message-ID: <6D1B85D8-2D01-40FF-8F32-9788038D3EAD@anu.edu.au>
Date: 2009-12-05T21:55:46Z
From: John Maindonald
Subject: Cairo 'Out of memory' error
In-Reply-To: <66b6c3540912051205u41079489x7728297671f5efd@mail.gmail.com>

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