Learn R Programming

apsimx (version 2.8.0)

view_apsim_xml: View an APSIM Classic auxiliary (XML) file

Description

view an auxilliary XML apsim file.

Usage

view_apsim_xml(file, src.dir, viewer = c("json", "react"), ...)

Value

It does not return an object but it produces a tree display of the APSIM file.

Arguments

file

file ending in .xml to be viewed.

src.dir

directory containing the .xml file to be viewed; defaults to the current working directory

viewer

either “json” or “react”.

...

additional arguments passed to either ‘jsonedit’ or ‘reactjson’.

Details

view APSIM XML file

Examples

Run this code
 
# \donttest{
extd.dir <- system.file("extdata", package = "apsimx")
view_apsim_xml("Maize75.xml", src.dir = extd.dir)
# }

Run the code above in your browser using DataLab