Setup, run and analyze 'NetLogo' (<https://www.netlogo.org>) model simulations in 'R'. 'nlrx' experiments use a similar structure as the Behavior Space experiments of 'NetLogo'. 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. Simulations are organised into blocks that each run in one 'NetLogo' instance with several parallel threads, so large simulation designs with many runs can be executed efficiently. This also enables simulating 'NetLogo' experiments on remote high performance computing machines. In order to use this package, 'Java' and 'NetLogo' (>= 7.0.0) need to be available on the executing system.
| Version: | 0.5.0 |
| Depends: | R (≥ 4.1.0) |
| Imports: | lhs, sensitivity, dplyr, readr, purrr, magrittr, stats, utils, GenSA, genalg, raster, rstudioapi, sf, tidyr, methods, tibble, crayon, igraph, stringr, progressr, EasyABC, logolink (≥ 1.0.0), cli, janitor, xml2 |
| Suggests: | testthat, curl, knitr, rmarkdown, covr |
| Published: | 2026-11-25 |
| DOI: | 10.32614/CRAN.package.nlrx |
| Author: | Jan Salecker |
| Maintainer: | Sebastian Hanss <nlrx at mailbox.org> |
| BugReports: | https://github.com/ropensci/nlrx/issues/ |
| License: | GPL-3 |
| URL: | https://docs.ropensci.org/nlrx/, https://github.com/ropensci/nlrx/ |
| NeedsCompilation: | no |
| SystemRequirements: | NetLogo (>= 7.0.0), 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.html , nlrx.pdf |
| Vignettes: |
Approximate Bayesian Computation (ABC) (source, R code) Advanced configuration (source, R code) Get Started (source, R code) Optimization (source, R code) Sensitivity Analysis (source, R code) Simdesign examples (source, R code) |
| Package source: | nlrx_0.5.0.tar.gz |
| Windows binaries: | r-devel: nlrx_0.4.6.zip, r-release: nlrx_0.4.6.zip, r-oldrel: nlrx_0.4.6.zip |
| macOS binaries: | r-release (arm64): nlrx_0.4.6.tgz, r-oldrel (arm64): nlrx_0.4.6.tgz, r-release (x86_64): nlrx_0.4.6.tgz, r-oldrel (x86_64): nlrx_0.4.6.tgz |
| Old sources: | nlrx archive |
Please use the canonical form https://CRAN.R-project.org/package=nlrx to link to this page.