run_cmd: Prepares the statement and runs the external saga_cmd...

View source: R/run-cmd.R

run_cmdR Documentation

Prepares the statement and runs the external saga_cmd executable

Description

Prepares the statement and runs the external saga_cmd executable

Usage

run_cmd(saga_cmd, saga_config, lib, tool_cmd, args, verbose)

Arguments

saga_cmd

character, name of the saga_cmd executable or alias.

saga_config

character, path to the saga configuration "ini" file.

lib

character, name of the selected library.

tool_cmd

character, name of the selected tool.

args

named list of tool options, such as list(DEM = "mygrid.tif", RADIUS = 3).

verbose

logical, whether to show all saga_cmd messages on the R console.

Value

list, output from 'processx::run()'


Rsagacmd documentation built on Oct. 16, 2023, 5:06 p.m.