Message-ID: <7098538.1075841459414.JavaMail.evans@thyme>
Date: Thu, 7 Feb 2002 01:33:51 -0800 (PST)
From: detlef.steuer@unibw-hamburg.de
To: robert.lundqvist@ies.luth.se
Subject: RE: [R] R graphs in LaTeX documents?
Cc: r-help@lists.r-project.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ANSI_X3.4-1968
Content-Transfer-Encoding: 7bit
Bcc: r-help@lists.r-project.org
X-From: Detlef Steuer <Detlef.Steuer@unibw-hamburg.de>
X-To: Robert Lundqvist <Robert.Lundqvist@ies.luth.se>
X-cc: r-help@lists.R-project.org <r-help@stat.math.ethz.ch>
X-bcc: 
X-Folder: \ExMerge - Richey, Cooper\Deleted Items
X-Origin: RICHEY-C
X-FileName: cooper richey 6-26-02.PST

Dear Robert,

You can easily include R-generated pictures in Latex.
One easy way is to use the postscript() command and including
the picures in Latex using \usepackage{graphics} .

It?s as easy as \includegraphics{mygraphicsfile.ps} and you can even do
size customizing in Latex using some commands in this package. (Good
documentation included.)

Hope this helps,
detlef


On 07-Feb-2002 Robert Lundqvist wrote:
> I have tried to find a neat way to include graphs from R in LaTeX documents,
> but have not succeeded (I work with a WinEdt/MikTeX combination). The two
> roads I have stumbled along so far are the following:
>
> *Generate postscript files and convert them into EPS files by means of
> GhostScript or other not so straightforward tools.
>
> *Generate pictex files and include these.
>
> None of these solutions have worked so far. I haven't spent so much time
> trying to find out what goes wrong, but since there might both LaTeX gurus
> and R wizards among you, I simply thought it would be better to lean on that
> expertize first. Any suggestions about how to achieve what really should be
> a simple task?
>
> --robert
> ****************
> Robert Lundqvist
> Dept of Quality Technology & Statistics
> Lulea University of Technology
> Sweden
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
> -
> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
> _

Detlef Steuer --- http://fawn.unibw-hamburg.de/steuer.html

***** Encrypted mail preferred *****
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._