[R] R Save As PDF

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Apr 3 18:41:44 CEST 2001


Can we terminate this thread?  R already has a function dev2bitmap to
do precisely this, so there is no advantage in re-inventing the wheel.
R's function also work on both Unix and Windows (which I believe Neils
uses) but most of the suggestions do not.

As I pointed out before, R-devel has an even better solution, a native
pdf driver.  And R-devel is available (even Windows binaries) for
testing.

On Tue, 3 Apr 2001, David L. Tabb wrote:

> I would suggest saving the plot as a .ps or .eps file.  Then you can use
> the perl script epstopdf.pl to make the conversion to .pdf.  This
> conversion will create a page the size of the image, which is a big help
> if you then include the pdf as a figure in a LaTeX document.
>
> Dave
>
> On Mon, 2 Apr 2001, niels Waller wrote:
> > Is there an R function to save a plot as a pdf file?
>
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

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