Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
R
 
 
 
 
doc
 
 
 
 
man
 
 
 
 
 
 
 
 
 
 
 
 

README.md

apsimx: R package for APSIM-X

CRAN CRAN downloads total CRAN downloads

This package allows for interaction with APSIM-X ("Next Generation") and/or APSIM 'Classic' (7.10). It can inspect, edit, run and read APSIM files in both platforms. The format is JSON for APSIM-X and XML for 'Classic'.

Package requirements

  • Imported R packages: DBI, jsonlite, knitr, RSQLite, tools, utils, xml2

  • Suggested R packages: BayesianTools, datasets, FedData, ggplot2, GSODR, listviewer,mvtnorm, nasapower, nloptr, raster, reactR, rmarkdown, sp, spData, sf

  • APSIMX:

  • and/or APSIM (7.x) 'Classic'

The new APSIM uses the mono framework to run on Mac and Linux (Debian). Mono should be installed first (in Mac and Linux).

Mono framework download: https://www.mono-project.com/download/stable/

APSIMX download: https://www.apsim.info/download-apsim/

If you need other R packages to interact with the previous version(s) of APSIM (7.x) try 'APSIM' and 'apsimr'. This package does not fully replace the functionality in those packages. It does have similar functions as in 'apsimr', but they are completely re-written.

If you want to install this package from github try in R:

library(devtools)
devtools::install_github("femiguez/apsimx")
library(apsimx)

or the lightweight 'remotes' package

library(remotes)
remotes::install_github("femiguez/apsimx")
library(apsimx)

It is not necessary to build the vignettes as they are also at: https://femiguez.github.io/apsimx-docs/

Note: Building the vignettes does not require the presence of APSIM-X as I have recently eliminated the APSIM-X runs in it.

Still, if you want to build the vignettes then use this instead of the second line above:

devtools::install_github("femiguez/apsimx", build_vignettes = TRUE, build_opts = c("--no-resave-data", "--no-manual"))

If you do build the vignettes, there is an introduction to the package

vignette("apsimx")

and a document which might help you build your own scripts either in R or other languages

vignette("apsimx-scripts")

If you have any questions contact Fernando E. Miguez (femiguez at iastate.edu)

About

R package for APSIM-X

Topics

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.