[R] image size

Uwe Ligges ligges at statistik.uni-dortmund.de
Sat Mar 5 19:19:25 CET 2005


Mikkel Grum wrote:

> Dear useRs,
> 
> I'm working in R 2.0.1 for Windows and producing PDF
> files with Sweave. I seem to be hitting an image size
> ceiling of around 6.8 x 6.8 inches.  I would like to
> produce taller images to make better use of my A4 page
> and have tried:
> 
> <<TestMap, fig = TRUE, width = 6.5, height = 8 >>=
> par.old(fin = c(6.5, 8))

What is par.old()?

If you mean par(): you cannot always make the figure region as large as 
the whole device region. Either enlarge the device region or set fin to 
a smaller value.

Uwe Ligges



> image(x, etc.)
> 
> I get the message:
> Error in plot.new(): Figure region too large
> 
> Is there anything I can do?



> Mikkel
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html




More information about the R-help mailing list