On Sun, Jan 24, 2010 at 9:15 PM, jean luc picard <peter.wohlmuth at
gmx.at> wrote:>
> Dear all,
>
> I have received the following error message since R 2.10.1 for the first
> time and I am not able to draw graphics any more:
>
>> plot(1:5,1:5)
>> plot(1:5,1:5)
> Error in plot.new() : figure margins too large
> In addition: Warning message:
> Display list redraw incomplete
>> sessionInfo()
> R version 2.10.1 (2009-12-14)
> i486-pc-linux-gnu
>
> locale:
> ?[1] LC_CTYPE=en_US.UTF-8 ? ? ? LC_NUMERIC=C
> ?[3] LC_TIME=en_US.UTF-8 ? ? ? ?LC_COLLATE=en_US.UTF-8
> ?[5] LC_MONETARY=C ? ? ? ? ? ? ?LC_MESSAGES=en_US.UTF-8
> ?[7] LC_PAPER=en_US.UTF-8 ? ? ? LC_NAME=C
> ?[9] LC_ADDRESS=C ? ? ? ? ? ? ? LC_TELEPHONE=C
> [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
>
> attached base packages:
> [1] stats ? ? graphics ?grDevices utils ? ? datasets ?methods ? base
>
>
> Do you have an idea, how to solve the problem?
I have an identical system according to sessionInfo() but no problem...
Are you sure you don't have a 'plot' function defined yourself that
is being loaded? Run R with --vanilla from the command line:
R --vanilla
and see if it still fails. The '--vanilla' option stops R loading in
a .RData file from the current directory.
Ooh, I can duplicate your problem if I resize my plot window very
small after the first plot. What do you see after your first
plot(1:5,1:5)? Anything? Possibly you've got some setting that's
making your graphics window very small, but I don't see why it happens
on the second plot.
Anyway, try --vanilla and that might cut out some possibilities.
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