"figure margins too large" in RGtk2 drawing area as cairo device - why?
When using a gtkDrawingArea as a Cairo device I very often encounter the error: "figure margins too large" Even for the below "getting started" example from http://www.ggobi.org/rgtk2/ this is the case.
win = gtkWindow() da = gtkDrawingArea() win$add(da) asCairoDevice(da)
[1] TRUE
plot(1:10)
Fehler in plot.new() : Grafikr?nder zu gro?
Also enlarging the drawing area does not help.
win = gtkWindow() da = gtkDrawingArea() win$add(da) asCairoDevice(da)
[1] TRUE
da$setSizeRequest(700, 700) plot(1:10)
Fehler in plot.new() : Grafikr?nder zu gro? Any ideas? Thanks in advance. --Mark PS. My system: R version 2.14.1 (2011-12-22) Platform: i386-apple-darwin9.8.0/i386 (32-bit) MacOS 10.6 ???????????????????????????????????? Mark Heckmann Blog: www.markheckmann.de R-Blog: http://ryouready.wordpress.com