The reason for my question is that a pdf-publication site is asking for a total size of document less than 2MB. My R-graphs are simple plots of many points. I migth try to tell the same story by using fewer points. An old (10 years +) Splus gave a particular graph 68k wheras the corresponding R was something like 1MB+. My latex documents therefore become huge. The explanation I got was that Splus used some kind of compression optimization which was absent in R.
Perhaps it is better to try to generate other form of the graph than ps or to generate the graph using a subsample of the points. [EMAIL PROTECTED] wrote: > On Wed, 5 Feb 2003, Cyril Humbert wrote: > > > Helgi Tomasson wrote: > > > > > > I have been using R for many years and I am very happy with it. One > > > thing puzzles me. > > > Graphic postscript files tend to become quite big, much bigger than > > > corresponding splus > > > postscript files. Does anybody have a hint to avoid this? > > > > > If you are using Unix/Linux, the command `eps2eps' (ghostscript) > > can help to reduce the size of the eps files. > > It makes my example 50% bigger! > Its man page says > > ps2ps uses gs(1) to convert PostScript(tm) file "input.ps" > to simpler and (usually) faster PostScript in "output.ps". > > so the intention is speed not size. > > Two reasons that that postscript from S-PLUS 6 is smaller are > > - it is less accurate, working to the nearest point (actually bp) whereas > R works to 1/100 point. > - it makes much more use of relative move operators. > > -- > Brian D. Ripley, [EMAIL PROTECTED] > 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 -- Helgi Tomasson FAX: 354-552-6806 University of Iceland PHONE:354-525-4571 Faculty of Economics and Business Administration email:[EMAIL PROTECTED] Oddi v/ Sturlugotu IS-101 Reykjavik ICELAND [[alternate HTML version deleted]] ______________________________________________ [EMAIL PROTECTED] mailing list http://www.stat.math.ethz.ch/mailman/listinfo/r-help
