[R] suggestion: postscript paper=user

Li Dongfeng mavip5 at inet.polyu.edu.hk
Mon Sep 6 03:40:34 CEST 1999


Dear R developers and users,

  I have a suggestion for the postscript device driver.
Now the paer= option only support "a4", "letter",
"legal", "executive". I suggest we add a "user" option
and letter user provide paper size, even like "595x421",
width>height.

For printing purpose, the provided paper size are
nearly enought. But I need to use R to produce
a lot of graphics, and transform these graphics to
PNG format for web publication.  I use ghostscript
to do the transformation, but the default paper size of the
R postscript device is too big, and the orietation
is not correct(we need landscape). I don't know
how to make the image size smaller and
rotating 90 degrees with ghostscript.  I had to
patch the R source(src/unix/devPS.c)  myself
to add a paper size. If R provide a paper="user "
option for the postscript device, things would be
much easier.

Li Dongfeng


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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