R-beta: Pictex and R

Ross Ihaka ihaka at stat.auckland.ac.nz
Fri Jul 25 03:32:04 CEST 1997

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 
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.
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