Learn R Programming

apsimx (version 2.2)

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)

Arguments

exe.path

path to apsim executable

examples.path

path to apsim examples

warn.versions

logical. warning if multiple versions of APSIM are detected.

Value

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

Details

Set apsim options

Examples

Run this code
# NOT RUN {
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