Re: R-beta: Latex and R

Ross Darnell (darnell@usq.edu.au)
Thu, 06 Nov 1997 10:30:44 +1000


Message-Id: <3.0.1.32.19971106103044.0073210c@romulus.sci.usq.edu.au>
Date: Thu, 06 Nov 1997 10:30:44 +1000
To: bensmail@rulfsw.fsw.LeidenUniv.nl, r-help@stat.math.ethz.ch
From: Ross Darnell <darnell@usq.edu.au>
Subject: Re: R-beta: Latex and R
In-Reply-To: <346091C6.6E20@rulfsw.fsw.leidenuniv.nl>

At 15:33 5/11/97 +0000, bensmail wrote:
>Hello R users,
>
>
>This question might be already discussed before, I apologize
>if it is the case.
>Simple... how can I do to include a figure in a latex document.
>As I have already done in Splus, I tried this:
>
>\begin{figure}
>\special{psfile=gauss.ps .......}
>\end{figure}
>
>but it didn't work. Any help?
>Thank you in advance.
>
Try viewing the eps file using Ghostview. Check that the ps file has
bounding boxes. Also if there is too much white space around the graphic
ask Ghostview to convert you R file into an eps file . It will trim much of
the white space by redefining the bounding box.
Then use the includegraphicx package in latex. It supersedes espf etc
This new package seems to work like a charm.

Good luck
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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=