[R] Error in plot.new()
Barry Rowlingson
b.rowlingson at lancaster.ac.uk
Sun Jan 24 23:38:26 CET 2010
On Sun, Jan 24, 2010 at 9:40 PM, jean luc picard <peter.wohlmuth at gmx.at> wrote:
>
> Running R --vanilla
>
>> plot(1:5,1:5)
>> plot(1:5,1:5)
>> plot(1:5,1:5)
>> plot(1:5,1:5)
>> plot(1:5,1:5)
>> plot(1:5,1:5)
>> plot(1:5,1:5)
>> plot(1:5,1:5)
> Error in plot.new() : figure margins too large
> In addition: Warning messages:
> 1: Display list redraw incomplete
> 2: Display list redraw incomplete
>
> The plot statement only opens the graphics window but no graphic is
> displayed (the same problem as in the original session).
Spooky. What's your Linux distribution?
Can you try this: again from R --vanilla, do plot(1:5,1:5) and then
from another unix shell do a:
xwininfo
and click on the plot window. Paste the result back here...
And while you're at it, what do you get for the output of
'capabilities()' in R:
> capabilities()
jpeg png tiff tcltk X11 aqua http/ftp sockets
TRUE TRUE TRUE TRUE TRUE FALSE TRUE TRUE
libxml fifo cledit iconv NLS profmem cairo
TRUE TRUE TRUE TRUE TRUE TRUE TRUE
Does it happen if you do X11(type="Xlib") first to get an Xlib
graphics device, then compare and contrast with X11(type="cairo") -
again, restarting R from a "--vanilla" run every time.
Barry
--
blog: http://geospaced.blogspot.com/
web: http://www.maths.lancs.ac.uk/~rowlings
web: http://www.rowlingson.com/
twitter: http://twitter.com/geospacedman
pics: http://www.flickr.com/photos/spacedman
More information about the R-help
mailing list