[R] Postscript File Size

Jacob W. Bowers jbowers at csm.berkeley.edu
Fri Feb 23 16:41:21 CET 2001


Hi.

Is there any way to reduce the size of postscript output from R?

I have just discovered that the same plot done on Splus 5.1 (on Solaris)
is about 900k compared to roughly 6.6mb on R-1.2.0 (on Solaris).

I produced this plot the same way on both platforms (except for "font=3"
on Splus and "family="Times"" on R):

postscript(file="file.eps",onefile=FALSE,horizontal=FALSE,paper="special",width=6,height=6,font=3)

.plot plot plot (lots of points (pch="."), roughly 30,000 per plot * 9
plots)....

dev.off()

I also tried using "dev.copy2eps()" on R, but that didn't change the size
of the resulting file.

I'd hate to email a such a huge file.

Any thoughts about what to do?

Thanks so much!

Jake

-----
Jake Bowers
Dept of Political Science
UC-Berkeley

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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