[R] Help with postscript (huge file size)

hadley wickham h.wickham at gmail.com
Sun Apr 12 16:19:45 CEST 2009


> I'm generating some images in R to put into a document that I'm producing
> using Latex. This document in Latex is following a predefined model, which
> does not accept compilation with pdflatex, so I have to compile with latex
> -> dvi -> pdf. Because of that, I have to generate the images in R with
> postscript (I want a vector format to keep the quality). The problem is that
> the files of the images are very huge (10MB) and I have many images to put
> into the pdf document.
> I want to know if there is a way to reduce the size of those images
> generated by R using postscript.

Just use a high-resolution png or tiff.  At 300 dpi you won't be able
to tell the difference when it's printed.

Hadley

-- 
http://had.co.nz/



More information about the R-help mailing list