NetLogoR
1.0.6Build and Run Spatially Explicit Agent-Based Models
Overview
Build and run spatially explicit agent-based models using only the R platform. 'NetLogoR' follows the same framework as the 'NetLogo' software (Wilensky (1999) https://www.netlogo.org) and is a translation in R of the structure and functions of 'NetLogo'. 'NetLogoR' provides new R classes to define model agents and functions to implement spatially explicit agent-based models in the R environment. This package allows benefiting of the fast and easy coding phase from the highly developed 'NetLogo' framework, coupled with the versatility, power and massive resources of the R software. Examples of two models from the NetLogo software repository (Ants https://ccl.northwestern.edu/netlogo/models/Ants) and Wolf-Sheep-Predation (https://ccl.northwestern.edu/netlogo/models/WolfSheepPredation), and a third, Butterfly, from Railsback and Grimm (2012) https://www.railsback-grimm-abm-book.com/, all written using 'NetLogoR' are available. The 'NetLogo' code of the original version of these models is provided alongside. A programming guide inspired from the 'NetLogo' Programming Guide (https://docs.netlogo.org/programming.html) and a dictionary of 'NetLogo' primitives (https://docs.netlogo.org/dictionary.html) equivalences are also available. NOTE: To increment 'time', these functions can use a for loop or can be integrated with a discrete event simulator, such as 'SpaDES' (https://cran.r-project.org/package=SpaDES).
Install
Health
- OK2026-08-0513 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-08-0112 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-05-2013 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- WARNING2026-05-1912 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 99%
- Return-value docs
- 100%
- References docs
- 68%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Repository practices
7 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/predictiveecology/netlogor on 2026-08-09.
Dependencies
Nothing depends on this yet.
Code & Tests
People & History
13 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 1.0.6Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.0.52024-01-08 · diff ↗
- unarchivedReturned to CRAN2024-01-08
- RR 4.3.0 released · 2023-04-21
- archivedRemoved from CRAN2022-11-09requires archived package 'Require'
- 0.3.112022-08-17 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 0.3.102022-02-18 · diff ↗
- unarchivedReturned to CRAN2022-02-18
- archivedRemoved from CRAN2022-02-02requires archived package 'SpaDES.tools'
- 0.3.92021-10-19 · diff ↗
- 0.3.82021-07-10 · diff ↗
- unarchivedReturned to CRAN2021-07-10
Show 15 earlier events
- archivedRemoved from CRAN2021-05-22requires archived package 'SpaDES.tools'
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 0.3.72020-03-02 · diff ↗
- 0.3.62019-11-27 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 0.3.52019-01-25 · diff ↗
- unarchivedReturned to CRAN2019-01-25
- archivedRemoved from CRAN2019-01-24check issues were not corrected in time
- 0.3.42018-10-07 · diff ↗
- 0.3.32018-06-07 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 0.3.22018-02-12 · diff ↗
- 0.3.12018-02-05
- RR 3.4.0 released · 2017-04-21
Package metadata
- First published
- 2018-02-05
- Total releases
- 13 / 8 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 4.3
- Download size
- 191 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("NetLogoR")This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-08-15, which the citation names so these numbers can be found later. More on citing and the projects behind them.