[R] printing R generated postcript files
Dirk Eddelbuettel
edd at debian.org
Thu Jun 17 03:25:20 CEST 2004
On Wed, Jun 16, 2004 at 04:17:25PM -0700, Alex Nu wrote:
>
> getOption("papersize") resulted in A4
>
> I tried to set it to letter modifying
> /etc/R/Renviron
>
> 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)
Confirmed. That suggestion I had gotten needed more testing than I gave it.
Doug once adjusted this from postinst, maybe I'll try the same again.
> Meanwhile I manually set to letter.
Good to know.
Regards, Dirk
--
FEATURE: VW Beetle license plate in California
More information about the R-help
mailing list