Discrete-Event Simulation for R
Overview
A process-oriented and trajectory-based Discrete-Event Simulation (DES) package for R. It is designed as a generic yet powerful framework. The architecture encloses a robust and fast simulation core written in 'C++' with automatic monitoring capabilities. It provides a rich and flexible R API that revolves around the concept of trajectory, a common path in the simulation model for entities of the same type. Documentation about 'simmer' is provided by several vignettes included in this package, via the paper by Ucar, Smeets & Azcorra (2019, doi:10.18637/jss.v090.i02), and the paper by Ucar, Hernández, Serrano & Azcorra (2018, doi:10.1109/MCOM.2018.1700960); see 'citation("simmer")' for details.
New features
- Add support for subsetting by activity tag (#305).
- New getter
get_start_time()returns the running arrival's start time (#304).
Minor changes and fixes
- Fix
set_source()to avoid leaking arrivals from the old source (#322). - Fix sources to properly reset distributions and trajectories (#324).
- Fix resources to properly reset initial parameters (#325).
- Fix start time of arrivals in cloned batches (#285).
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-08
- ERROR12 OK, 1 ERROR2026-06-07
- OK13 OK2026-05-02
Show 3 earlier changesHide 3 earlier changes
- NOTE11 OK, 1 NOTE2026-04-25
- ERROR9 OK, 4 NOTE, 1 ERROR2026-03-30
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 39 (1 internal)includes a package overview page
- Examples that run
- 93%25 run in a plain check · 2 never run
- Exported functions with examples
- 68%
- Documented parameters
- 98%
- Return-value docs
- 97%
- Help pages citing references
- 3%
Downloads
Repository
- PRs merged (all time)
- 95%
- Median days to close, 50 most recently updated closed issues
- 1
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
7 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/r-simmer/simmer on 2026-10-11.
The R CMD check workflow runs on Linux
Show all practicesHide 2 practices
Dependencies
Installing simmer adds 2 packages (2 with compiled code, 2.1 MB of source tarballs). Heaviest: Rcpp 1.8 MB, magrittr 275 KB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 4.4.7Latest
- 4.4.6.42024-07-05 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 4.4.6.32023-11-28 · diff ↗
- 4.4.6.22023-08-22 · diff ↗
- 4.4.6.12023-07-18 · diff ↗
- 4.4.62023-07-17 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 4.4.5
- RR 4.2.0 released · 2022-04-22
- 4.4.42022-02-07 · diff ↗
- 4.4.32021-08-11 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 4.4.22020-06-06 · diff ↗
Show 38 earlier eventsHide 38 earlier events
- RR 4.0.0 released · 2020-04-24
- 4.4.12020-04-11 · diff ↗
- 4.4.02019-12-09 · diff ↗
- 4.3.02019-07-30 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 4.2.22019-03-14 · diff ↗
- 4.2.12019-01-09 · diff ↗
- 4.2.02019-01-09 · diff ↗ ·
added 6 exports
get_seized, get_seized_selected, handle_unfinished, release_all, release_selected_all, stop_if - 4.1.0
- 4.0.1
- 4.0.0
- 3.8.02018-05-01 · diff ↗ ·
added 5 exports
add_dataframe, monitor_csv, monitor_delim, monitor_mem, set_source - RR 3.5.0 released · 2018-04-23
- 3.7.02018-03-03 · diff ↗ ·
removed 2 exports
create_trajectory, onestepadded 6 exports
get_capacity_selected, get_queue_count_selected, get_queue_size_selected, get_server_count_selected, timeout_from_attribute, timeout_from_global - 3.6.5
- 3.6.42017-11-04 · diff ↗
- 3.6.32017-07-28 · diff ↗ ·
added 5 exports
get_attribute, get_global, get_name, get_prioritization, set_global - 3.6.22017-05-30 · diff ↗
- RR 3.4.0 released · 2017-04-21
- 3.6.12017-03-30 · diff ↗ ·
removed 4 exports
plot_attributes, plot_evolution_arrival_times, plot_resource_usage, plot_resource_utilization - 3.6.02016-12-28 · diff ↗ ·
removed 5 exports
get_head, get_next_activity, get_prev_activity, get_tail, print_activityadded 1 export
trajectory - 3.5.1
- 3.5.02016-10-27 · diff ↗ ·
added 11 exports
activate, deactivate, log_, send, set_capacity_selected, set_distribution, set_queue_size_selected, set_trajectory, trap, untrap, wait - 3.4.42016-10-06 · diff ↗
- 3.4.32016-10-02 · diff ↗
- 3.4.22016-09-03 · diff ↗
- 3.4.12016-08-11 · diff ↗
- 3.4.02016-08-09 · diff ↗ ·
removed 1 export
everyadded 7 exports
batch, clone, renege_abort, renege_in, separate, set_prioritization, synchronize - 3.3.02016-06-28 · diff ↗ ·
added 7 exports
join, leave, release_selected, seize_selected, select, set_capacity, set_queue_size - RR 3.3.0 released · 2016-05-03
- 3.2.1
- 3.2.02016-04-04 · diff ↗ ·
removed 2 exports
show_activity, show_trajectoryadded 3 exports
every, from_to, to - 3.1.22016-01-04 · diff ↗
- 3.1.12015-12-16 · diff ↗
- 3.1.02015-12-16 · diff ↗ ·
added 9 exports
at, from, get_mon_attributes, get_n_generated, get_prev_activity, plot_attributes, print_activity, rollback, set_attribute - 3.0.12015-11-17 · diff ↗
- 3.0.02015-11-15
- RR 3.2.0 released · 2015-04-16
Package metadata
- First published
- 2015-11-15
- Total releases
- 42 / 11 yrs
- License
- GPL (>= 2) OSI · relicensed from MIT + file LICENSE in 4.0.0
- Minimum R
- ≥ 3.4.0
- Download size
- 1.1 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("simmer")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.18637/jss.v090.i02, 10.1109/mcom.2018.1700960.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.