[R] Split.screen problem

Prof Brian D Ripley ripley at stats.ox.ac.uk
Fri Jul 14 16:45:19 CEST 2000


On Fri, 14 Jul 2000, Margaret Riordan wrote:

> Hi all
> 
> When I run the example as below
> > if (interactive()) {
> + split.screen(c(2,1))             # split display into two screens
> + split.screen(c(1,3), screen = 2) # now split the bottom half into 3
> + screen(1) # prepare screen 1 for output
> + plot(10:1)
> + screen(4) # prepare screen 4 for output
> + plot(10:1)
> + close.screen(all = TRUE) # exit split-screen mode
> + }
> 
> It returns the following error
> Error in plot.new() : Figure margins too large
> >
> 
> If I run any of my functions that contain the split.screen function a
> similiar error is returned.

It works here on R 1.1.0 on Solaris.  It probably means exactly what it
says: your pointsize is set so that the margins are too large, or perhaps
more accurately, what space is left after the margins are allocated is too
small.

Without knowing your OS, graphics device, device size and settings
there is not much more we can do to help, and possibly not much if we knew
all those.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list