On Sat, 10 Aug 2002, Francisco J. Molina wrote:
> I have been checking the information provided with postscript().
Which information? (It seems not to be the help page!)
> Acording to the manual the argument of postscript() is the name of a
> file with extension ps .
Not according to ?postscript, so which manual are you looking at?
The default name ends in .ps, but that's only the default.
> 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?
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.
--
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._