[R] Paper Size
Prof Brian D Ripley
ripley at stats.ox.ac.uk
Thu May 11 06:48:44 CEST 2000
On 10 May 2000, Douglas Bates wrote:
> Erin Hodgess <hodgess at uhddx01.dt.uh.edu> writes:
>
> > Here is a nice simple question: On Version 1.0.0, where is the file
> > that has the paper size for plots?
> >
> > UNIX Dec Alpha please?
>
> Paper size is set in the shell script called R. In my case that is
> /usr/bin/R. Your location for the R script may be different, perhaps
> /usr/local/bin/R. The script reads, in part,
[R RHOME will tell you where: replace `lib' by `bin'.]
> # Default printer paper size
> # Choose one of the following:
> # R_PAPERSIZE="a4"
> # R_PAPERSIZE="letter"
> # R_PAPERSIZE="none"
> : ${R_PAPERSIZE=letter}
> export R_PAPERSIZE
>
> You can override that selection by setting the environment variable
> R_PAPERSIZE to "a4" or to "letter" before running R.
Just to add a couple of points:
1) That gives the default paper size for plots done by postscript() and not
necessarily by other drivers. You can override it by specifying `paper'
on a call to postscript().
2) Inside R, options("papersize") will tell you the current setting,
and as from 1.1.0 it will also allow you to set the default paper size.
--
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