rmf_install | R Documentation |
This function installs external codes that are used by RMODFLOW.
rmf_install(code = "all", overwrite = NULL) rmf_installed_codes()
code |
Character vector with the codes to install, or |
overwrite |
Logical. Overwrite when the code is already installed? If
|
All MODFLOW variants documented at the Online Guide to MODFLOW, except for MODFLOW-2000. I.e. MODFLOW-2005, MODFLOW-OWHM, MODFLOW-NWT, MODFLOW-LGR and MODFLOW-CFP. The zip files with windows binaries hosted at the USGS websites are downloaded and extracted in the installation directory. The main folder names are modified in order to have more consistency.
The default installation location is file.path(system.file(package = "RMODFLOW"), "code")
, but it can be altered by setting option
RMODFLOW.path
.
rmf_installed_codes()
shows which codes are installed in the default installation location as
set by the RMODFLOW.path
option.
rmf_installed_codes()
returns an invisible character vector with installed code names.
rmf_guide()
for launching the Online Guide to MODFLOW or
specific pages thereof.
## Not run: rmf_install() # Install all codes. rmf_install("2005") # Install MODFLOW-2005. rmf_install("MODFLOW-2005") # Install MODFLOW-2005. rmf_install(c(2005, "MODFLOW-NWT", "cfp")) # Install different variants. ## End(Not run) ## Not run: rmf_installed_codes() ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.