Learn R Programming

Rsagacmd (version 0.0.9)

saga_execute: Function to execute SAGA-GIS commands through the command line tool

Description

Intended to be used internally by each function

Usage

saga_execute(lib, tool, senv, .intern = TRUE, .all_outputs = TRUE, ...)

Arguments

lib

A character specifying the name of SAGA-GIS library to execute.

tool

A character specifying the name of SAGA-GIS tool to execute.

senv

A saga environment object.

.intern

A logical specifying whether to load the outputs from the SAGA-GIS geoprocessing operation as an R object.

.all_outputs

A logical to specify whether to automatically output all results from the selected SAGA tool and load them results as R objects (default = TRUE). If .all_outputs = FALSE then the file paths to store the tool's results will have to be manually specified in the arguments.

...

Named arguments and values for SAGA tool.

Value

output of SAGA-GIS tool loaded as an R object.