search for: r_qpdf

Displaying 5 results from an estimated 5 matches for "r_qpdf".

Did you mean: qpdf
2015 Oct 10
1
R CMD check --as-cran without qpdf
Today, a package that has an HTML vignette (but no PDF vignette) failed R CMD check --as-cran on a system without qpdf. I think the warning originates here [1], due to a premature check for the existence of qpdf [2]. Setting R_QPDF=true (as in /bin/true) helped, but perhaps it's possible to check qpdf existence only when it matters. I have attached a patch (untested) that could serve as a starting point. The code links correspond to SVN revision 69500. Thanks. Best regards Kirill [1] https://github.com/wch/r-sour...
2011 Mar 27
1
Bug in tools::compactPDF() in 2.13-0-alpha
...d. I don't have qpdf on my system so planned to use ghostscript. However, the code for compactPDF() has as it's first few lines: if (!nzchar(Sys.which(qpdf))) return() So because I don't have qpdf, compactPDF() always returns NULL: > nzchar(Sys.which(Sys.getenv("R_QPDF", "qpdf"))) [1] FALSE > compactPDF("../analogue/pkg/inst/doc/analogue_methods.pdf", gs_cmd = "/usr/bin/") NULL no matter what I do. This is with: > sessionInfo() R version 2.13.0 alpha (2011-03-27 r55077) Platform: x86_64-unknown-linux-gnu (64-bit) loca...
2013 Apr 21
2
vignettes: problems with PDF compaction
...with copies of the .pdf and .Rnw under inst/doc for historical reasons. [Q: can I now safely delete the copies under inst/doc ?] inst/doc/ HE-examples.pdf HE-examples.Rnw vignettes/ HE-examples.pdf HE-examples.Rnw HE-examples.bib fig/ ... I have qpdf installed: > Sys.which(Sys.getenv("R_QPDF", "qpdf")) qpdf "c:\\Rtools\\bin\\qpdf.exe" > but, if I try to run it on the vignettes/HE-examples.pdf file, nothing happens: > tools::compactPDF("C:/Documents/workspace/heplots/vignettes/HE-examples.pdf") > Since vignettes are re-built from sourc...
2011 Jun 23
5
Reducción tamaño de gráficos en PDF
Buenas tardes a todos, Estoy interesado en realizar varios gráficos y luego guardarlos individualmente como PDF. Hasta ahí todo bien. Sin embargo, el archivo resultante tiene aproximadamente 20MB. Podría alguien por favor indicarme cómo reducir su tamaño? A continuación un ejemplo de lo que intento hacer y mi sessionInfo(). Estoy usando Mac OS X. Muchas gracias, Jorge Ivan Velez # R code
2024 Jan 10
1
Sys.which() caching path to `which`
Hello R-devel, Currently on Unix-like systems, Sys.which incorporates the absolute path to the `which` executable, obtained at the configure stage: > ## hopefully configure found [/usr]/bin/which > which <- "@WHICH@" > if (!nzchar(which)) { > warning("'which' was not found on this platform") This poses a problem for the Spack package