R-beta: Encapsulated Postscript output with R-0.49

Thomas Lumley thomas at biostat.washington.edu
Sun Jun 8 21:16:54 CEST 1997

On Sat, 7 Jun 1997, Steve Shiboski wrote:

> I've noticed that the postscript files produced by R-0.49
> come up inverted in my postscript previewer. Also, they
> do not behave like encapsulated postscript files so they
> can't be imported into LaTeX documents. If I remove lines
> with page-oriented commands like "%%Page", "%%Orientation",
> "\bp" and "\ep", the resulting files seem to behave like 
> legitimate eps files. I've been using the Perl script below
> to automate the process:

I haven't had any of these problems.  My postscript files come up the
right way around in ghostview and import beautifully into LaTeX with
\epsfig.   They are also in colour (which I have only just worked out how
to do in S-PLUS).

Most, if not all, of my postscript files were produced by save.plot()
rather than by postscript(). This may explain the difference, but they do
include the %%Orientation, %%Page, /ep, and so on.   Also, in earlier
versions of R I used postscript() with no problems.

What LaTeX commands and dvi converter are you using? I have used both the
NTeX (on Linux) and teTeX versions of LaTeX2e with the dvips converter,
and used the epsfig package.

Thomas Lumley
Biostatistics		: "Never attribute to malice what  :
Uni of Washington	:  can be adequately explained by  :
Box 357232		:  incompetence" - Hanlon's Razor  :
Seattle WA 98195-7232	:				   :

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