Efficient Iterator for Permutations and Combinations
Overview
Iterator for generating permutations and combinations. They can be either drawn with or without replacement, or with distinct/ non-distinct items (multiset). The generated sequences are in lexicographical order (dictionary order). The algorithms to generate permutations and combinations are memory efficient. These iterative algorithms enable users to process all sequences without putting all results in the memory at the same time. The algorithms are written in C/C++ for faster performance. Note: 'iterpc' is no longer being maintained. Users are recommended to switch to 'arrangements'.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 9includes a package overview page
- Examples that run
- 100%5 run in a plain check
- Exported functions with examples
- 56%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
4 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/randy3k/iterpc on 2026-10-11.
GitHub Pages site last deployed 2020-01-08
Dependencies
Installing iterpc adds 4 packages (2 with compiled code, 562 KB of source tarballs). Heaviest: iterators 293 KB, gmp 163 KB, R6 63 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
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- 0.4.2Latest
- RR 3.6.0 released · 2019-04-26
- 0.4.12018-08-08 · diff ↗
- 0.4.02018-04-24 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 0.3.42017-12-06 · diff ↗
- 0.3.32017-09-12 · diff ↗
- 0.3.12017-08-28 · diff ↗
- RR 3.4.0 released · 2017-04-21
Show 14 earlier eventsHide 14 earlier events
- 0.3.02016-05-31 · diff ↗
- RR 3.3.0 released · 2016-05-03
- 0.2.9-12016-04-20 · diff ↗
- 0.2.92016-04-09 · diff ↗
- 0.2.8
- 0.2.72015-04-16 · diff ↗
- RR 3.2.0 released · 2015-04-16
- 0.2.62014-11-14 · diff ↗
- 0.2.52014-06-12 · diff ↗
- 0.2.42014-05-25 · diff ↗
- RR 3.1.0 released · 2014-04-10
- 0.2.32014-04-07 · diff ↗
- 0.2.22014-03-29
- RR 3.0.0 released · 2013-04-03
Package metadata
- First published
- 2014-03-29
- Total releases
- 16 / 12 yrs
- License
- GPL-2 OSI
- Minimum R
- ≥ 3.0.0
- Download size
- 11 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("iterpc")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.