if (FALSE) {
## wbt_init():
# set path to binary as an argument
# wbt_init(exe_path = "not/a/valid/path/whitebox_tools.exe")
}
if (FALSE) {
## wbt_options():
# set multiple options (e.g. exe_path and verbose) with wbt_options()
wbt_options(exe_path = "not/a/valid/path/whitebox_tools.exe", verbose = TRUE)
}
if (FALSE) {
wbt_exe_path()
}
if (FALSE) {
## wbt_wd():
# set WBT working directory to R working directory
wbt_wd(wd = getwd())
}
if (FALSE) {
## wbt_verbose():
wbt_verbose(verbose = TRUE)
}
if (FALSE) {
## wbt_compress_rasters():
wbt_compress_rasters(compress_rasters = TRUE)
}
if (FALSE) {
## wbt_max_procs():
wbt_max_procs(max_procs = 2)
}
Run the code above in your browser using DataLab