<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2650.12">
<TITLE>RE: [R] paper size</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Dear all,</FONT>
<BR><FONT SIZE=2>Thanks for the response. I did try to change width, height in win.graph but it does not work either. I now belief that it is not a paper size problem but something else; either the restriction of the device windows (which I do not know how to change) or ???? Basically, I am not able to print the whole printable area of a4. When I make more figures in a plot, it just shrink all of the fingers smaller to fit into the centre area. Please help.</FONT></P>

<P><FONT SIZE=2>Best regards,</FONT>
<BR><FONT SIZE=2>Chuang Fong Kong, Ph D</FONT>
<BR><FONT SIZE=2>Head, Microarrays</FONT>
<BR><FONT SIZE=2>Peter MacCallum Cancer Institute - Research</FONT>
<BR><FONT SIZE=2>St. Andrew's Place, East Melbourne</FONT>
<BR><FONT SIZE=2>Victoria 3002, Australia</FONT>
<BR><FONT SIZE=2>Tel: 61 3 9656-1796 or 1138</FONT>
<BR><FONT SIZE=2>Fax: 61 3 9656-1411</FONT>
<BR><FONT SIZE=2>e-mail: c.kong@pmci.unimelb.edu.au</FONT>
</P>
<BR>
<BR>

<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Prof Brian D Ripley [<A HREF="mailto:ripley@stats.ox.ac.uk">mailto:ripley@stats.ox.ac.uk</A>]</FONT>
<BR><FONT SIZE=2>Sent: Thursday, June 08, 2000 3:24 PM</FONT>
<BR><FONT SIZE=2>To: Faheem Mitha</FONT>
<BR><FONT SIZE=2>Cc: Kong, Chuang Fong; r-help@stat.math.ethz.ch</FONT>
<BR><FONT SIZE=2>Subject: RE: [R] paper size</FONT>
</P>
<BR>

<P><FONT SIZE=2>On Wed, 7 Jun 2000, Faheem Mitha wrote:</FONT>
</P>

<P><FONT SIZE=2>&gt; The ~/.Renviron method should also work in Windows.</FONT>
</P>

<P><FONT SIZE=2>Yes, but setting R_PAPERSIZE=a4 on the command line is easier on Windows.</FONT>
</P>

<P><FONT SIZE=2>&gt; In Unix you can either set the environmental variable in .Renviron or you</FONT>
<BR><FONT SIZE=2>&gt; can change the value in config.site. config.site is a shell script, so</FONT>
<BR><FONT SIZE=2>&gt; well may be Unix-specific. However, it (config.site) does yield the</FONT>
<BR><FONT SIZE=2>&gt; following useful information</FONT>
</P>

<P><FONT SIZE=2>Those are slightly different. If you set it in config.site, it is compiled</FONT>
<BR><FONT SIZE=2>in as the default for the environment variable R_PAPERSIZE. People on</FONT>
<BR><FONT SIZE=2>Windows are normally using pre-compiled versions.</FONT>
</P>

<P><FONT SIZE=2>&gt; (from config.site)</FONT>
<BR><FONT SIZE=2>&gt; # The paper size for the local (PostScript) printer.</FONT>
<BR><FONT SIZE=2>&gt; # It must either be left blank or set to one of &quot;a4&quot; or &quot;letter&quot;.</FONT>
<BR><FONT SIZE=2>&gt; # If left blank the system will use &quot;a4&quot;.</FONT>
<BR><FONT SIZE=2>&gt; # R_PAPERSIZE=a4</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; So try setting R_PAPERSIZE=a4 in .Renviron (create a .Renviron if you</FONT>
<BR><FONT SIZE=2>&gt; don't have one) and see what happens.</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; Note by the way that command line arguments take precedence.</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; By the way, I am surprised that your system does not default to A4. I</FONT>
<BR><FONT SIZE=2>&gt; thought that A4 defaults were pretty universal (as see the above shell</FONT>
<BR><FONT SIZE=2>&gt; script), but maybe not in NT? What default is your system currently using?</FONT>
</P>

<P><FONT SIZE=2>The default on all versions of R is &quot;a4&quot;, including Windows (both the</FONT>
<BR><FONT SIZE=2>Windows developers live in ISO-conformant countries).</FONT>
</P>

<P><FONT SIZE=2>I suspect the critical issue is that R_PAPERSIZE *only* applies to the</FONT>
<BR><FONT SIZE=2>postscript device, where it supplies the default for the argument `paper'.</FONT>
<BR><FONT SIZE=2>There are other printer devices on Windows, and it is likely that</FONT>
<BR><FONT SIZE=2>win.print is being used.&nbsp;&nbsp; That defaults to width=height=7(inches),</FONT>
<BR><FONT SIZE=2>and those are arguments passed directly to it.</FONT>
</P>

<P><FONT SIZE=2>&gt; I thought letter was the only other major option.</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Faheem.</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; On Thu, 8 Jun 2000, Kong, Chuang Fong wrote:</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt; Thanks but I forgot to mention that I am using Windows NT, will it work the</FONT>
<BR><FONT SIZE=2>&gt; &gt; same way? Thanks.</FONT>
<BR><FONT SIZE=2>&gt;&nbsp; </FONT>
<BR><FONT SIZE=2>&gt; &gt; -----Original Message-----</FONT>
<BR><FONT SIZE=2>&gt; &gt; From: Faheem Mitha [<A HREF="mailto:faheem@email.unc.edu">mailto:faheem@email.unc.edu</A>]</FONT>
<BR><FONT SIZE=2>&gt; &gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt; Try setting </FONT>
<BR><FONT SIZE=2>&gt; &gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt; R_PAPERSIZE=a4 or R_PAPERSIZE=A4 in ~/.Renviron if you are using Unix.</FONT>
<BR><FONT SIZE=2>&gt; &gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt; I don't have any documentation for this but at least</FONT>
<BR><FONT SIZE=2>&gt; &gt; R_PAPRSIZE=letter works for me in ~/.Renviron&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT>
</P>

<P><FONT SIZE=2>See ?postscript for the documentation, which tells you the other options.</FONT>
</P>

<P><FONT SIZE=2>&gt; &gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Faheem.</FONT>
<BR><FONT SIZE=2>&gt; &gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt; On Thu, 8 Jun 2000, Kong, Chuang Fong wrote:</FONT>
<BR><FONT SIZE=2>&gt; &gt; </FONT>
<BR><FONT SIZE=2>&gt; &gt; &gt; dear All,</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; [snipped]</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-</FONT>
<BR><FONT SIZE=2>&gt; r-help mailing list -- Read <A HREF="http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html" TARGET="_blank">http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html</A></FONT>
<BR><FONT SIZE=2>&gt; Send &quot;info&quot;, &quot;help&quot;, or &quot;[un]subscribe&quot;</FONT>
<BR><FONT SIZE=2>&gt; (in the &quot;body&quot;, not the subject !)&nbsp; To: r-help-request@stat.math.ethz.ch</FONT>
<BR><FONT SIZE=2>&gt; _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
</P>

<P><FONT SIZE=2>-- </FONT>
<BR><FONT SIZE=2>Brian D. Ripley,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ripley@stats.ox.ac.uk</FONT>
<BR><FONT SIZE=2>Professor of Applied Statistics,&nbsp; <A HREF="http://www.stats.ox.ac.uk/~ripley/" TARGET="_blank">http://www.stats.ox.ac.uk/~ripley/</A></FONT>
<BR><FONT SIZE=2>University of Oxford,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Tel:&nbsp; +44 1865 272861 (self)</FONT>
<BR><FONT SIZE=2>1 South Parks Road,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +44 1865 272860 (secr)</FONT>
<BR><FONT SIZE=2>Oxford OX1 3TG, UK&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Fax:&nbsp; +44 1865 272595</FONT>
</P>

</BODY>
</HTML>