System$findGhostscript

0th

Percentile

Searches for a Ghostview executable on the current system

Searches for a Ghostview executable on the current system.

Keywords
methods, internal
Usage
## 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, ...)

Arguments
updateRGSCMD

If TRUE and Ghostscript is found, then the system environment variable R_GSCMD is set to the (first) path found.

firstOnly

If TRUE, only the first executable is returned.

force

If TRUE, existing R_GSCMD is ignored, otherwise not.

...

Not used.

Value

Returns a character vector of full and normalized pathnames where Ghostscript executables are found.

References

[1] How to use Ghostscript, Ghostscript, 2013 http://ghostscript.com/doc/current/Use.htm [2] Environment variable, Wikipedia, 2013. http://www.wikipedia.org/wiki/Environment_variable [3] Environment.SpecialFolder Enumeration, Microsoft Developer Network, 2013. http://msdn.microsoft.com/en-us/library/system.environment.specialfolder.aspx

See Also

For more information see System.

Aliases
  • System$findGhostscript
  • findGhostscript.System
  • System.findGhostscript
  • findGhostscript,System-method
Examples
# NOT RUN {
  print(System$findGhostscript())
# }
Documentation reproduced from package R.utils, version 2.8.0, License: LGPL (>= 2.1)

Community examples

Looks like there are no examples yet.