powered by
Searches for a Ghostview executable on the current system.
## Static method (use this): ## System$findGhostscript(updateRGSCMD=TRUE, firstOnly=TRUE, force=FALSE, ...)## Don't use the below: # S3 method for System findGhostscript(static, updateRGSCMD=TRUE, firstOnly=TRUE, force=FALSE, ...)
## Don't use the below: # S3 method for System findGhostscript(static, updateRGSCMD=TRUE, firstOnly=TRUE, force=FALSE, ...)
If TRUE and Ghostscript is found, then the system environment variable R_GSCMD is set to the (first) path found.
TRUE
R_GSCMD
If TRUE, only the first executable is returned.
If TRUE, existing R_GSCMD is ignored, otherwise not.
Not used.
Returns a character vector of full and normalized pathnames where Ghostscript executables are found.
character
vector
[1] How to use Ghostscript, Ghostscript, 2013 https://ghostscript.com/doc/current/Use.htm [2] Environment variable, Wikipedia, 2013. https://en.wikipedia.org/wiki/Environment_variable [3] Environment.SpecialFolder Enumeration, Microsoft, 2013. https://docs.microsoft.com/en-us/dotnet/api/system.environment.specialfolder
For more information see System.
System
# NOT RUN { print(System$findGhostscript()) # }
Run the code above in your browser using DataLab