[R] printing R generated postcript files

Alex Nu notulei at yahoo.com
Thu Jun 17 01:17:25 CEST 2004

 getOption("papersize")  resulted in A4

 I tried to set it to letter  modifying

 as suggested by Dirk,

R_PAPERSIZE=${R_PAPERSIZE-$(cat /etc/papersize)}

 but this is what I get when trying to generate
 a postscript file

Error in postscript("times.ps") : invalid page type
``cat /etc/papersize`' (postscript)

Meanwhile I manually  set to letter.



More information about the R-help mailing list