[R] paper size

Faheem Mitha faheem at email.unc.edu
Thu Jun 8 05:52:38 CEST 2000


The ~/.Renviron method should also work in Windows.

In Unix you can either set the environmental variable in .Renviron or you
can change the value in config.site. config.site is a shell script, so
well may be Unix-specific. However, it (config.site) does yield the
following useful information

(from config.site)
# The paper size for the local (PostScript) printer.
# It must either be left blank or set to one of "a4" or "letter".
# If left blank the system will use "a4".

So try setting R_PAPERSIZE=a4 in .Renviron (create a .Renviron if you
don't have one) and see what happens.

Note by the way that command line arguments take precedence.

By the way, I am surprised that your system does not default to A4. I
thought that A4 defaults were pretty universal (as see the above shell
script), but maybe not in NT? What default is your system currently using?
I thought letter was the only other major option.


On Thu, 8 Jun 2000, Kong, Chuang Fong wrote:

> Thanks but I forgot to mention that I am using Windows NT, will it work the
> same way? Thanks.
> -----Original Message-----
> From: Faheem Mitha [mailto:faheem at email.unc.edu]
> Try setting 
> R_PAPERSIZE=a4 or R_PAPERSIZE=A4 in ~/.Renviron if you are using Unix.
> I don't have any documentation for this but at least
> R_PAPRSIZE=letter works for me in ~/.Renviron                
>                                  Faheem.
> On Thu, 8 Jun 2000, Kong, Chuang Fong wrote:
> > dear All,


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