Re: [Rd] CRAN package sizes

2011-02-15 Thread Prof Brian Ripley
On Sun, 13 Feb 2011, Yihui Xie wrote: Regarding the reasons that make the doc directory large, I wonder if we can make some changes in R: 'we' cannot: only core developers can. However, end users can contribute in many other ways: see below. 1. Use a null graphics device as the default de

Re: [Rd] CRAN package sizes

2011-02-14 Thread Kevin R. Coombes
I think it would be even more useful if we could get Sweave to easily produce PNG figures instead of just PDF/EPS. In the current state of things, making PNG versions is more cumbersome than making PDF versions, so I'm not surprised that most people don't go to that trouble most of the time.

Re: [Rd] CRAN package sizes

2011-02-13 Thread Yihui Xie
Regarding the reasons that make the doc directory large, I wonder if we can make some changes in R: 1. Use a null graphics device as the default device rather than pdf() when running Sweave -- this can avoid the useless Rplots.pdf: options(device = function(...) { .Call("R_GD_nullDevice", PAC