R-beta: Pictex and R

Ross Ihaka (ihaka@stat.auckland.ac.nz)
Fri, 25 Jul 1997 13:32:04 +1200 (NZST)


Date: Fri, 25 Jul 1997 13:32:04 +1200 (NZST)
Message-Id: <199707250132.NAA00631@stat1.stat.auckland.ac.nz>
From: Ross Ihaka <ihaka@stat.auckland.ac.nz>
To: r-help@stat.math.ethz.ch
Subject: R-beta: Pictex and R
In-Reply-To: <33D78098.B40@rulfsw.fsw.leidenuniv.nl>

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@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=