R-beta: Pictex and R

Douglas Bates bates at stat.wisc.edu
Thu Jul 24 17:12:13 CEST 1997


bensmail <bensmail at rulfsw.fsw.LeidenUniv.nl> writes:

> This time it is about "pictex". I understood that
> pictex allows us to put our graph in a latex file
> I have try the function: 
> > pictex (file=...)
> and the answer was: "pictex" not found...
> Does it mean that it is not an R-function yet?

PicTeX may be one way of incorporating S graphics (I don't think it
exists in R yet) into LaTeX documents but I think there are better
ways. 

Assuming you will eventually print the document on a PostScript
printer, a good way of incorporating graphics into a document is to use
the postscript device driver in R
 postscript(file = ...)
then insert the PostScript figure using the graphicx package in LaTeX.
The graphics and graphicsx packages are available at any CTAN archive
site.

There are several LaTeX packages for inclusion of PostScript figures
(psfig, epsf, ...) but the graphics and graphicsx packages seem to be
the most recent and most powerful.

-- 
Douglas Bates                            bates at stat.wisc.edu
Statistics Department                    608/262-2598
University of Wisconsin - Madison        http://www.stat.wisc.edu/~bates/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
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