Description Usage Arguments Value Examples
Runs a tool and specifies tool arguments.
1 | wbt_run_tool(tool_name, args, verbose_mode = FALSE)
|
tool_name |
The name of the tool to run. |
args |
Tool arguments. |
verbose_mode |
Verbose mode. Without this flag, tool outputs will not be printed. |
Returns the output descriptions of the tool.
1 2 3 4 5 6 7 8 9 10 | ## Not run:
tool_name <- "breach_depressions"
dem <- system.file("extdata", "DEM.tif", package="whitebox")
output <- "./output.tif"
arg1 <- paste0("--dem=", dem)
arg2 <- paste0("--output=", output)
args <- paste(arg1, arg2)
wbt_run_tool(tool_name, args)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.