powered by
Set the path to the APSIM executable, examples and warning suppression.
apsim_options(exe.path = NA, examples.path = NA, warn.versions = TRUE)
It modifies the ‘apsim.options’ environment as a side effect.
path to apsim executable
path to apsim examples
logical. warning if multiple versions of APSIM are detected.
Set apsim options
if (FALSE) { names(apsim.options) apsim_options(exe.path = "some-new-path-to-executable") apsim.options$exe.path }
Run the code above in your browser using DataLab