[R-SIG-Mac] Cairo 'Out of memory' error
John Maindonald
john.maindonald at anu.edu.au
Sun Dec 6 01:22:20 CET 2009
As this occurs only after some combination of computations and
use of graphics commands, maybe extending over several days,
it is not possible to provide a reproducible example. Once the
session gets into this state, any attempt to open an X11 window
triggers the output that I obtained. It seems unimportant whether
this is a direct call to x11(), or to a plotting function that requires
the opening of an X11 window.
So all that I can usefully report on may be the state of my session
when the behaviour was triggered. I wll try running a large number
of graphics commands in a new session, that open and close the
X11 graphics device, to look for a sequence of commands that
consistently triggers the behaviour.
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
On 06/12/2009, at 11:02 AM, Simon Urbanek wrote:
>
> 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
>>
>>
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
More information about the R-SIG-Mac
mailing list