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 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
On Thu, 24 Jul 1997, bensmail wrote:> 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?I think pictex doesn't work, but that it has been fixed in R0.50, which will appear Real Soon Now. 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 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Dear R-users It is me again with my interminables questions... 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? Thank you for any feedback. Halima from Leiden =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-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 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
bensmail writes: > Dear R-users > > It is me again with my interminables questions... > > 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? I believe the version in the recently distributed 0.50 alpha-1 works, but as Doug Bates observes, using postscript is a better way to go. You can either use the postscript driver to produce a file containing a single plot or use the command save.plot("filename") to capture an on-screen plot in a file with the given name. In either case you should get conforming encapsulated postscript which you can incude in a TeX document. I've been using LyX to prepare documents for my class and it provides a very simple mechanism for including plots made this way. Ross =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-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 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=