Learn R Programming

Rsagacmd (version 0.4.3)

read_output: Primary function to read data sets (raster, vector, tabular) that are output by saga_cmd

Description

Primary function to read data sets (raster, vector, tabular) that are output by saga_cmd

Usage

read_output(output, raster_backend, vector_backend, .intern, .all_outputs)

Value

the loaded objects, or NULL is `.intern = FALSE`.

Arguments

output

list, a `options` object that was created by the `create_tool` function that contains the parameters for a particular tool and its outputs.

raster_backend

character, either "raster" or "terra"

vector_backend

character, either "sf", "SpatVector" or "SpatVectorProxy"

.intern

logical, whether to load the output as an R object