saga_execute {Rsagacmd}R Documentation

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 = NULL,
  .all_outputs = NULL,
  .verbose = NULL,
  ...
)

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.

.verbose

Option to output all message during the execution of saga_cmd. Overrides the saga environment setting.

...

Named arguments and values for SAGA tool.

Value

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


[Package Rsagacmd version 0.4.2 Index]