search for: gs_quality

Displaying 11 results from an estimated 11 matches for "gs_quality".

2018 Jul 08
0
[R] consider running tools::compactPDF(gs_quality = "ebook")
...did this inside R; not ideal but worked. ________________________________ From: R-devel <r-devel-bounces at r-project.org> on behalf of S?ren H?jsgaard <sorenh at math.aau.dk> Sent: 08 July 2018 15:46 To: r-devel at r-project.org Subject: Re: [Rd] [R] consider running tools::compactPDF(gs_quality = "ebook") Dear all, I run R CMD build --compact-vignettes="both" gRbase and/or R CMD build --compact-vignettes="gs+qpdf" gRbase and in the log from r-devel (on winbuilder) I get * checking sizes of PDF files under 'inst/doc' ... WARNING 'gs+qpdf...
2018 Jul 08
2
[R] consider running tools::compactPDF(gs_quality = "ebook")
...gs+qpdf" gRbase and in the log from r-devel (on winbuilder) I get * checking sizes of PDF files under 'inst/doc' ... WARNING 'gs+qpdf' made some significant size reductions: compacted 'gRbase-arrays.pdf' from 421Kb to 115Kb consider running tools::compactPDF(gs_quality = "ebook") on these files According to "writing R extensions" things should be fine (I have gs and qpdf on my system): "The --compact-vignettes option will run tools::compactPDF over the PDF files in inst/doc (and its subdirectories) to losslessly compress them. This is n...
2018 Jul 08
2
consider running tools::compactPDF(gs_quality = "ebook")
...gs+qpdf" gRbase and in the log from r-devel (on winbuilder) I get * checking sizes of PDF files under 'inst/doc' ... WARNING 'gs+qpdf' made some significant size reductions: compacted 'gRbase-arrays.pdf' from 421Kb to 115Kb consider running tools::compactPDF(gs_quality = "ebook") on these files According to "writing R extensions" things should be fine (I have gs and qpdf on my system): "The --compact-vignettes option will run tools::compactPDF over the PDF files in inst/doc (and its subdirectories) to losslessly compress them. This is n...
2018 Jul 08
2
consider running tools::compactPDF(gs_quality = "ebook")
...gs+qpdf" gRbase and in the log from r-devel (on winbuilder) I get * checking sizes of PDF files under 'inst/doc' ... WARNING 'gs+qpdf' made some significant size reductions: compacted 'gRbase-arrays.pdf' from 421Kb to 115Kb consider running tools::compactPDF(gs_quality = "ebook") on these files According to "writing R extensions" things should be fine (I have gs and qpdf on my system): "The --compact-vignettes option will run tools::compactPDF over the PDF files in inst/doc (and its subdirectories) to losslessly compress them. This is n...
2012 Jan 24
1
Failure to get compactPDF to compact a pdf file
...e data files compact alright (but I get the 'significantly better compression' warning message that might suggest that this is not happening), but the pdf file appears to go into the package unmodified. <<<< > tools::compactPDF('/Users/johnm/packages/DAAG/inst/doc/', gs_quality = "ebook") > dir('/Users/johnm/packages/DAAG/inst/doc/') [1] "rockArt.pdf" > sessionInfo() R version 2.14.1 (2011-12-22) Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit) locale: [1] C attached base packages: [1] stats graphics grDevices utils datasets...
2020 Nov 01
2
vignettes present in 2 folders or won't work
...because this is the only way that has proven 100% reliable to me, across a variety of situations). In my Makefile, I have something like: build: clean mkdir -p inst/doc mkdir vignettes -cp sources_vignettes/*/*.pdf* vignettes Rscript -e "tools::compactPDF(paths = 'vignettes', gs_quality = 'printer')" cp vignettes/*.pdf* inst/doc Rscript -e "devtools::document()" mkdir inst/extdata/sources_vignettes cp sources_vignettes/*/*.Rnw inst/extdata/sources_vignettes Rscript -e "devtools::build(vignettes = FALSE)" That works fine, the vignettes sh...
2012 Feb 29
0
R 2.14.2 is released + R anniversary
...bility, this adds a JIT pattern compiler, about which PCRE's news says 'large performance benefits can be had in many situations'. This is supported on most but not all R platforms. o Function compactPDF() in package tools now takes the default for argument gs_quality from environment variable GS_QUALITY: there is a new value "none", the ultimate default, which prevents GhostScript being used in preference to qpdf just because environment variable R_GSCMD is set. If R_GSCMD is unset or set to "", the function will try...
2012 Feb 29
0
R 2.14.2 is released + R anniversary
...bility, this adds a JIT pattern compiler, about which PCRE's news says 'large performance benefits can be had in many situations'. This is supported on most but not all R platforms. o Function compactPDF() in package tools now takes the default for argument gs_quality from environment variable GS_QUALITY: there is a new value "none", the ultimate default, which prevents GhostScript being used in preference to qpdf just because environment variable R_GSCMD is set. If R_GSCMD is unset or set to "", the function will try...
2020 Nov 01
0
vignettes present in 2 folders or won't work
...reliable to me, across a variety of > situations). > > In my Makefile, I have something like: > > build: clean > mkdir -p inst/doc > mkdir vignettes > -cp sources_vignettes/*/*.pdf* vignettes > Rscript -e "tools::compactPDF(paths = 'vignettes', gs_quality = > 'printer')" > cp vignettes/*.pdf* inst/doc > Rscript -e "devtools::document()" > mkdir inst/extdata/sources_vignettes > cp sources_vignettes/*/*.Rnw inst/extdata/sources_vignettes > Rscript -e "devtools::build(vignettes = FALSE)"...
2013 Apr 21
2
vignettes: problems with PDF compaction
[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 and upon submission to CRAN, a message from maintainers: On CRAN now: but again there were warnings
2020 Nov 01
2
vignettes present in 2 folders or won't work
...gt; situations). > > > > In my Makefile, I have something like: > > > > build: clean > > mkdir -p inst/doc > > mkdir vignettes > > -cp sources_vignettes/*/*.pdf* vignettes > > Rscript -e "tools::compactPDF(paths = 'vignettes', gs_quality = > > 'printer')" > > cp vignettes/*.pdf* inst/doc > > Rscript -e "devtools::document()" > > mkdir inst/extdata/sources_vignettes > > cp sources_vignettes/*/*.Rnw inst/extdata/sources_vignettes > > Rscript -e "devtools::...