[R] Exporting graphics to PS or EPS

Peter Kleiweg kleiweg at let.rug.nl
Sun Aug 20 12:11:47 CEST 2000

Prof Brian D Ripley skriver...

> The critical point about EPSF is that it bans some of the PS
> operators, and unfortunately R (up to and including 1.1.1) got
> that slightly wrong.

Does this mean that the current version of R doesn't produce
valid EPS? I haven't tried it yet, but that would severly limit
the use of R to me. I allways use EPS to import graphics into

> ghostscript/ghostview/gv/GSView are more widely available, and
> "free" in the R sense (Open Source) not just `no cost'. The
> only `some of the major flavors of Unix' is a big drawback for
> Acrobat Reader, as is its bugginess, especially on Linux (and
> as frequently reported on the pdftex list) the Mac. These days
> ghostscript does a pretty good job with PDF.

Acrobat Reader 4.0 for Linux is buggy. Version 3.0 works OK for
me. Some documents that are too complex for Acrobat Reader can
be handled by Ghostscript. Of course, with Ghostscript you don't
have the contents of the document as a menu available, or any of
the hyperlinks.

You could try the open source Xpdf:

    "Xpdf runs under the X Window System on Unix, VMS, and OS/2.
     The non-X components of the package (pdftops, pdftotext,
     etc.) also run on Win32 systems."

Peter Kleiweg

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