rsaga.set.env: Internal function that sets the RSAGA Geoprocessing Eviroment...

Description Usage Arguments


Internal function that sets the RSAGA Geoprocessing Eviroment manually


rsaga.set.env(workspace = NULL, cmd = NULL, path = NULL,
  modules = NULL, version = NA, cores = NULL, parallel = NULL)



path of the working directory for SAGA; defaults to the current directory (".").


name of the SAGA command line program; defaults to saga_cmd.exe, its name under Windows


path in which to find cmd; rsaga.env is usually able to find SAGA on your system if it is installed; see Details.


path in which to find SAGA libraries; see Details


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


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.


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 behaviour 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

RSAGA documentation built on May 2, 2019, 11:01 a.m.