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.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.4.3 by Sebastian Hanss, a month ago,

Report a bug at

Browse source code at

Authors: Jan Salecker [aut] , Marco Sciaini [aut] , Marina Papadopoulou [rev] (Marina reviewed the package for ropensci , see <>) , Sebastian Hanss [cre] (Package maintainer together with Jan Salecker)

Documentation:   PDF Manual  

GPL-3 license

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, knitr, rmarkdown, covr

System requirements: NetLogo (>= 5.3.1), Java (JDK 1.8), pandoc, OpenSSL, udunits-2, PROJ.4, GEOS, GDAL, libxml2

See at CRAN