- path
path in which to find cmd
; rsaga.env
is usually able to find SAGA on your system if it is installed; see Details.
- modules
path in which to find SAGA libraries; see Details
- workspace
path of the working directory for SAGA; defaults to the current directory ("."
).
- cmd
name of the SAGA command line program; defaults to saga_cmd.exe
, its name under Windows
- version
optional character string: SAGA GIS (API) version, e.g. "2.0.8"
; if missing, a call to rsaga.get.version()
is used to determine version number of SAGA API
- cores
optional numeric argument, or NA
: number of cores used by SAGA GIS; supported only by SAGA GIS 2.1.0 (and higher), ignored otherwise (with a warning). Multicore-enabled SAGA GIS modules such as the one used by rsaga.pisr()
seem to run in multicore mode by default when this argument is not specified, therefore cores
should only be specified to use a smaller number of cores than available on a machine.
- parallel
optional logical argument (default: FALSE
): if TRUE
, run RSAGA functions that are capable of parallel processing in parallel mode; note that this is completely independent of the behavior of SAGA GIS (which can be controlled using the cores
argument); currently only some RSAGA functions support parallel processing (e.g., pick.from.ascii.grid()
or rsaga.get.modules()
). parallel=TRUE
requires that a parallel backend such as doSNOW or doMC is available and has been started prior to calling any parallelized RSAGA function, otherwise warnings may be generated
- root
optional root path to SAGA GIS installation. It is used if RSAGA performs a search for the SAGA command line program (s. search
). If left empty, on Windows C:/
is used, on Linux /usr
and on Mac OS /usr/local/Cellar
.
- lib.prefix
character string: a possible (platform-dependent) prefix for SAGA GIS library names; if missing (recommended), a call to rsaga.lib.prefix()
tries to determine the correct prefix, e.g. ""
on Windows systems and "lib"
on non-Windows systems with SAGA GIS pre-2.1.0. Try specifying ""
or "lib"
manually if this causes problems, and contact the package maintainer if the detection mechanism fails on your system (indicate your Sys.info()["sysname"]
and your SAGA GIS version)