search for: gs_cmd

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

2012 Apr 20
1
R CMD check: Sys.getenv("R_GSCMD") cannot contain full pathname (contrary to docs)
...#39; to "gswin32c.exe" and asserting that it is the PATH (this is on Windows), it works. TROUBLESHOOTING: In the local function check_doc_size() of tools:::.check_packages() [cf. http://svn.r-project.org/R/trunk/src/library/tools/R/check.R], the Ghostscript executable is retrieved as: gs_cmd <- find_gs_cmd(Sys.getenv("R_GSCMD", "")) and if nzchar(gs_cmd) is FALSE, then the 'R CMD check' NOTE appears. Inspecting tools:::find_gs_cmd, this corresponds to gs_cmd <- Sys.which(Sys.getenv("R_GSCMD", "")) iff 'R_GSCMD' is set....
2014 Jul 14
1
Error in compactPDF/find_gs_cmd or documentation?
I am using tools::compactPDF for reducing the size of some pdf-files with GhostScript. I had some trouble in the beginning as the documentation seems not to match the usage of the function. For GhostScript, one has to set the argument gs_cmd, which has the following description: gs_cmd - Character string giving the path to the GhostScript executable, if that is to be used. On Windows this is the path to 'gswin32c.exe' or 'gswin64c.exe'. If "", the function will try to find a platform-specific path to Ghost...
2011 Mar 27
1
Bug in tools::compactPDF() in 2.13-0-alpha
Dear List, There seems to be an bug in compactPDF() or at least an inconsistency with the documented behaviour. The documentations states: Details: This by default makes use of ?qpdf?, available from <URL: http://qpdf.sourceforge.net/>, including a Windows binary. If ?gs_cmd? is non-empty, GhostScript is used. 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: >...
2011 Jan 14
1
How to point R toward Ghostscript on a Windows XP system
A colleague designed a script for a bar plot, which I'd like to export to my directory via the barplot command: bitmap(file="barplot.tif", type="tifflzw", height=4, width=6.5, res=1250) Unfortunately, this command produces the following error message: Error in system(paste(gsexe, "-help"), intern = TRUE, invisible = TRUE) : 'gswin32c.exe' not found
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