search for: find_gs_cmd

Displaying 2 results from an estimated 2 matches for "find_gs_cmd".

2012 Apr 20
1
R CMD check: Sys.getenv("R_GSCMD") cannot contain full pathname (contrary to docs)
...;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. In other words, to...
2014 Jul 14
1
Error in compactPDF/find_gs_cmd or documentation?
...cript 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 GhostScript. The first part seems not to work as described. If gs_cmd is given, this is passed to find_gs_cmd. This function will then call: Sys.which(gs_cmd) which rather takes the name of the executable as input. I guess either the documentation should be changed to refer to the name of the GhostScript executable, or the function should be changed to use the given path. Best wishes, Jon -- Jon Olav...