Skip to content

iterpc

Efficient Iterator for Permutations and Combinations

v0.4.2 · Jan 10, 2020 · GPL-2

Description

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'.

Downloads

2.5K

Last 30 days

2706th

6.9K

Last 90 days

41.8K

Last year

Trend: +16% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (7)

Dependency Network

Dependencies Reverse dependencies iterators gmp arrangements MendelianRandomization cellOrigins ldamatch robustrao dartR dartR.base dartR.popgen iterpc

Version History

new 0.4.2 Mar 10, 2026
updated 0.4.2 ← 0.4.1 diff Jan 9, 2020
updated 0.4.1 ← 0.4.0 diff Aug 7, 2018
updated 0.4.0 ← 0.3.4 diff Apr 23, 2018
updated 0.3.4 ← 0.3.3 diff Dec 5, 2017
updated 0.3.3 ← 0.3.1 diff Sep 11, 2017
updated 0.3.1 ← 0.3.0 diff Aug 27, 2017
updated 0.3.0 ← 0.2.9-1 diff May 30, 2016
updated 0.2.9-1 ← 0.2.9 diff Apr 19, 2016
updated 0.2.9 ← 0.2.8 diff Apr 8, 2016
updated 0.2.8 ← 0.2.7 diff Jan 27, 2016
updated 0.2.7 ← 0.2.6 diff Apr 15, 2015
updated 0.2.6 ← 0.2.5 diff Nov 13, 2014
updated 0.2.5 ← 0.2.4 diff Jun 11, 2014
updated 0.2.4 ← 0.2.3 diff May 24, 2014
updated 0.2.3 ← 0.2.2 diff Apr 6, 2014
new 0.2.2 Mar 28, 2014