findGhostscript.System {R.utils}R Documentation

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.

Author(s)

Henrik Bengtsson (http://www.braju.com/R/)

See Also

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

Examples

## Not run: 
   print(System$findGhostscript())
 
## End(Not run)

[Package R.utils version 1.1.1 Index]