[R] Getting graphs into LaTeX

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Fri Dec 20 08:53:06 CET 2002


On Thu, 19 Dec 2002, A.J. Rossini wrote:

> pdflatex needs pdf,jpg, or other formats -- it can't handle eps.

pdf or png these days I believe.  (There was tiff and jpg support once,
but tiff has definitely gone.)

R does have a pdf() device (and I wonder who wanted to include graphs in
pdftex documents?).  Otherwise eps can be converted to pdf by the script
epstopdf (which calls distiller or gs) which has an executable version on
Windows, epstopdf.exe.

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list