R-beta: Latex and R

Ross Darnell darnell at usq.edu.au
Thu Nov 6 01:30:44 CET 1997

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:
>\special{psfile=gauss.ps .......}
>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
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