nlrx: Setup, Run and Analyze 'NetLogo' Model Simulations from 'R' via 'XML'

Setup, run and analyze 'NetLogo' (<>) model simulations in 'R'. 'nlrx' experiments use a similar structure as 'NetLogos' Behavior Space experiments. However, 'nlrx' offers more flexibility and additional tools for running and analyzing complex simulation designs and sensitivity analyses. The user defines all information that is needed in an intuitive framework, using class objects. Experiments are submitted from 'R' to 'NetLogo' via 'XML' files that are dynamically written, based on specifications defined by the user. By nesting model calls in future environments, large simulation design with many runs can be executed in parallel. This also enables simulating 'NetLogo' experiments on remote high performance computing machines. In order to use this package, 'Java' and 'NetLogo' (>= 5.3.1) need to be available on the executing system.

Version: 0.4.5
Depends: R (≥ 3.3)
Imports: XML, lhs, sensitivity, dplyr, readr, purrr, furrr, magrittr, stats, utils, GenSA, genalg, raster, rstudioapi, sf, tidyr, methods, tibble, crayon, igraph, stringr, progressr, EasyABC
Suggests: testthat, mockery, knitr, rmarkdown, covr
Published: 2024-01-29
DOI: 10.32614/CRAN.package.nlrx
Author: Jan Salecker ORCID iD [aut], Marco Sciaini ORCID iD [aut], Marina Papadopoulou [rev] (Marina reviewed the package for ropensci, see <>), Sebastian Hanss [cre] (Package maintainer together with Jan Salecker)
Maintainer: Sebastian Hanss <nlrx at>
License: GPL-3
NeedsCompilation: no
SystemRequirements: NetLogo (>= 5.3.1), Java (>= 11), pandoc, OpenSSL, udunits-2, PROJ.4, GEOS, GDAL, libxml2
Citation: nlrx citation info
Materials: README NEWS
CRAN checks: nlrx results


Reference manual: nlrx.pdf
Vignettes: Approximate Bayesian Computation (ABC)
Advanced configuration
Get Started
Sensitivity Analysis
Simdesign examples


Package source: nlrx_0.4.5.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): nlrx_0.4.5.tgz, r-oldrel (arm64): nlrx_0.4.5.tgz, r-release (x86_64): nlrx_0.4.5.tgz, r-oldrel (x86_64): nlrx_0.4.5.tgz
Old sources: nlrx archive


Please use the canonical form to link to this page.