Re: [Rd] vignettes: problems with PDF compaction

2013-04-23 Thread Michael Friendly
On 4/22/2013 5:51 PM, Uwe Ligges wrote: But this doesn't do anything, not even changing the timestamp on the file, because the file size doesn't change enough. Either you changed it or not, there is no "not enough". I meant that the code in tools::compact compares the sizes of the old and new

Re: [Rd] vignettes: problems with PDF compaction

2013-04-22 Thread Henrik Bengtsson
It's certainly not obvious, but you should use 'gswin32c.exe' instead of 'gswin32.exe'. From http://ghostscript.com/doc/current/Install.htm#Install_Windows "GSWIN32C.EXE Ghostscript as a 32-bit Windows command line program. This is usually the preferred executable. GSWIN32.EXE 32-bit Ghostscript

Re: [Rd] vignettes: problems with PDF compaction

2013-04-22 Thread Uwe Ligges
On 22.04.2013 17:59, Michael Friendly wrote: On 4/21/2013 1:28 PM, Michael Friendly wrote: [Env: OS: Win Xp; R 2.15.2; IDE: eclipse/StatET] Each time I update my heplots package, I get warnings from R CMD check on R-Forge, * checking sizes of PDF files under ‘inst/doc’ ... WARNING ‘gs+qpd

Re: [Rd] vignettes: problems with PDF compaction

2013-04-22 Thread Michael Friendly
On 4/21/2013 1:28 PM, Michael Friendly wrote: [Env: OS: Win Xp; R 2.15.2; IDE: eclipse/StatET] Each time I update my heplots package, I get warnings from R CMD check on R-Forge, * checking sizes of PDF files under ‘inst/doc’ ... WARNING ‘gs+qpdf’ made some significant size reductions:

Re: [Rd] vignettes: problems with PDF compaction

2013-04-21 Thread Michael Friendly
On 4/21/2013 1:47 PM, Uwe Ligges wrote: >> Since vignettes are re-built from sources and then installed into >> inst/doc, I don't see why >> PDF compaction cannot be run as part of the build process. That is, if >> R CMD check --as-cran detects a problem, shouldn't there be some >> option for >> R

Re: [Rd] vignettes: problems with PDF compaction

2013-04-21 Thread Uwe Ligges
On 21.04.2013 19:28, Michael Friendly wrote: [Env: OS: Win Xp; R 2.15.2; IDE: eclipse/StatET] Each time I update my heplots package, I get warnings from R CMD check on R-Forge, * checking sizes of PDF files under ‘inst/doc’ ... WARNING ‘gs+qpdf’ made some significant size reductions:

[Rd] vignettes: problems with PDF compaction

2013-04-21 Thread Michael Friendly
[Env: OS: Win Xp; R 2.15.2; IDE: eclipse/StatET] Each time I update my heplots package, I get warnings from R CMD check on R-Forge, * checking sizes of PDF files under ‘inst/doc’ ... WARNING ‘gs+qpdf’ made some significant size reductions: compacted ‘HE-examples.pdf’ from 739Kb to 366Kb