View source: R/otb_windows_search.R
| searchOTBW | R Documentation |
Detects Orfeo Toolbox (OTB) installations on Windows using a bounded set of plausible roots (no full-disk crawl). Modern standalone bundles (OTB 9.x) are detected by the presence of:
an environment script: otbenv.ps1 (preferred) or otbenv.bat
a launcher: bin/otbApplicationLauncherCommandLine.exe
at least one CLI wrapper in bin/:
otbcli_*.ps1, otbcli_*.bat, or otbcli_*.exe
searchOTBW(searchLocation = "C:/", DL = NULL, maxdepth = 8L, quiet = FALSE)
searchLocation |
Character scalar. Root directory to search
(default |
DL |
Character scalar. Deprecated alias for |
maxdepth |
Integer. Best-effort maximum recursion depth for the
recursive |
quiet |
Logical. If |
Backward compatibility: older callers may pass DL instead of
searchLocation. Internally, DL is treated as an alias for
searchLocation.
A data.frame with one row per detected installation and columns:
Normalized path to <root>/bin.
Normalized OTB root directory.
Path to a detected CLI wrapper (ps1/bat/exe).
Path to otbenv.ps1 or otbenv.bat.
Path to otbApplicationLauncherCommandLine.exe.
Classification string (e.g., "OTB_STANDALONE_PS1").
## Not run:
# bounded search under C:/
searchOTBW("C:/", quiet = FALSE)
# legacy alias
searchOTBW(DL = "C:/", quiet = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.