Displaying 1 result from an estimated 1 matches for "analogue_method".
Did you mean:
analogue_methods
2011 Mar 27
1
Bug in tools::compactPDF() in 2.13-0-alpha
...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)
locale:
[1] LC_CTYPE=en_GB.utf8 LC_NUMERIC=C
[3] LC_TIME=en_GB.utf8 LC_COLLAT...