On Fri, 13 May 2011, Marc Jekel wrote:
Dear R-Fans,
I have been lately working on some plots in R that I save as pdf via the
pdf() command. I have realized that when I open those files in Adobe and then
re-save it within Adobe ("save as..."), the size of the pdf files decreases
rapidly (e.g., from 4mb to 1mb). This can also be observed for smaller pdf
files (but not as drastically). Does anyone know if Adobe somehow compresses
pdf files + if it is possible to already do this within R (the quality of the
pdfs is the same as far as I can judge from perceptual inspection).
Yes. Try upgrading your R to R-devel which supports compression, or
use tools::compactDPF.
And this is actually documented in the help file ?pdf.
Thanks for a hint,
Marc
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Brian D. Ripley, rip...@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 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.