Description Usage Arguments Details See Also
Internal functions that determine OS-specific default paths in which SAGA GIS binaries and modules might be located.
1 2 3 4 | rsaga.default.path(sysname = Sys.info()["sysname"])
rsaga.default.modules.path(sysname = Sys.info()["sysname"],
saga.path = rsaga.default.path(sysname))
|
sysname |
character: name of the operating system, determined by default by |
saga.path |
character: path with SAGA GIS binaries, as determined (e.g.) by |
These functions are used internally by rsaga.env
. On Windows systems, the guess made by rsaga.default.path
is "C:/Progra~1/SAGA-GIS"
, and for the modules, it is the "modules"
subfolder of the path with the binaries.
On non-Windows systems, rsaga.default.path
submits a which saga_cmd
call to the operating system to find the binaries, usually in /usr/local/bin
or in /usr/bin
. To find the modules, rsaga.default.modules.path
first checks if a SAGA_MLB
environment variable exists. If not, it will replace the /bin
part (if present) with /lib/saga
or otherwise it just guesses that it's /usr/local/lib/saga
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.