R.utils (version 1.6.5)

findGhostscript.System: Searches for the ghostview binary on the current system

Description

Searches for the ghostview binary on the current system. Currently only Windows and Unix is supported.

Usage

System$findGhostscript(updateRGSCMD=TRUE, ...)

Arguments

updateRGSCMD
If TRUE and ghostscript is found, then the system environment variable R_GSCMD is set to the (first) path found. This variable is used by the bitmap() device.
...
Not used.

Value

  • Returns a vector of full pathnames where ghostscript is found.

synopsis

findGhostscript.System(static, updateRGSCMD=TRUE, ...)

See Also

Sys.getenv(). dev2bitmap. For more information see System.

Examples

Run this code
print(System$findGhostscript())

Run the code above in your browser using DataCamp Workspace