Learn R Programming

apsimx (version 2.8.0)

apsim_options: Setting some options specific to APSIM (7.x) ‘Classic’

Description

Set the path to the APSIM executable, examples and warning suppression.

Usage

apsim_options(exe.path = NA, examples.path = NA, warn.versions = TRUE)

Value

It modifies the ‘apsim.options’ environment as a side effect.

Arguments

exe.path

path to apsim executable

examples.path

path to apsim examples

warn.versions

logical. warning if multiple versions of APSIM are detected.

Details

Set apsim options

Examples

Run this code
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