rsaga.lib.prefix: Determine prefix for SAGA GIS library names

Description Usage Arguments Details Value See Also Examples

Description

Internal function that determines the possible prefix for SAGA GIS library names - relevant for non-Windows SAGA GIS pre-2.1.0.

Usage

1

Arguments

env

list, setting up a SAGA geoprocessing environment as created by rsaga.env.

Details

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.

Value

A character string, either "" or "lib".

See Also

rsaga.env

Examples

1
2
3
4
5
6
7
8
9
## 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)

debangs/RSAGA documentation built on May 15, 2019, 1:53 a.m.