Skip to content
Prev 16998 / 398502 Next

R graphs in LaTeX documents?

On Fri, 8 Feb 2002 Michael_Nielsen/Syd/Synergy.SYNERGY at synergy.com.au wrote:

            
The only good way is to convert .eps to pdf (or, much worse, to png).
The best way to do that is Adobe Distiller, the second-best way epsftopdf,
a Perl script / Windows program calling ghostscript, preferably 6.0 or
later.  It is practically identical to what bitmap() does in R.
That's typical for the sort of graphs one produces in R.
I wrote the pdf() driver because it seemed a cleaner solution, and it was
an intellectual challenge.  From this thread it seems it has much more use
than I realized, which is nice to know.