View source: R/apsim_classic.R
apsim_options | R Documentation |
Set the path to the APSIM executable, examples and warning suppression.
apsim_options(exe.path = NA, examples.path = NA, warn.versions = TRUE)
exe.path |
path to apsim executable |
examples.path |
path to apsim examples |
warn.versions |
logical. warning if multiple versions of APSIM are detected. |
Set apsim options
It modifies the ‘apsim.options’ environment as a side effect.
It is possible that APSIM 7.x ‘Classic’ is installed in some alternative location other than the defaults ones. Guessing this can be difficult and then the auto_detect functions might fail. Also, if multiple versions of APSIM are installed apsim will choose the newest one but it will issue a warning. Suppress the warning by setting warn.versions = FLASE.
## Not run:
names(apsim.options)
apsim_options(exe.path = "some-new-path-to-executable")
apsim.options$exe.path
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.