Skip to content

poscript("fileName.eps") possible?

2 messages · Francisco J Molina, Brian Ripley

#
I have been checking the information provided with postscript().

Acording to the manual the argument of postscript() is the name of a
file with extension ps .

The postscript produced by R is EPS (Encapsulated PostScript)
     compatible, so I tried to pass to postscript() the name of a file
with extension eps. Then I included this file in
a Latex document and everything worked fine.

Does what I did work in general or I just was lucky?
Thank you.

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Sat, 10 Aug 2002, Francisco J. Molina wrote:

            
Which information?  (It seems not to be the help page!)
Not according to ?postscript, so which manual are you looking at?
The default name ends in .ps, but that's only the default.
You were lucky.  Other including applications require an EPS header, and
how to get that is described on the help page (under `onefile' and in
the Details).

On most systems the extension is irrelevant, and on most of those which
care it can be either .ps or .eps.  On just a few, .eps implies a .EPS
header.