rsaga.lib.prefix | R Documentation |
Internal function that determines the possible prefix for SAGA GIS library names - relevant for non-Windows SAGA GIS pre-2.1.0.
rsaga.lib.prefix(env)
env |
list, setting up a SAGA geoprocessing environment as created by |
Some non-Windows versions of saga_cmd
require library names with a "lib"
prefix, e.g. libio_grid
instead of io_grid
. This function, which is called by rsaga.env()
tries to guess this behaviour based on the operating system and SAGA GIS version.
A character string, either ""
or "lib"
.
rsaga.env()
## Not run: env = rsaga.env() # obtained by a call to rsaga.lib.prefix: env$lib.prefix # more explicitly: rsaga.lib.prefix(env=env) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.