Package: iterpc 0.4.2

iterpc: Efficient Iterator for Permutations and Combinations

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

Authors:Randy Lai [aut, cre]

iterpc_0.4.2.tar.gz
iterpc_0.4.2.zip(r-4.7)iterpc_0.4.2.zip(r-4.6)iterpc_0.4.2.zip(r-4.5)
iterpc_0.4.2.tgz(r-4.6-any)iterpc_0.4.2.tgz(r-4.5-any)
iterpc_0.4.2.tar.gz(r-4.7-any)iterpc_0.4.2.tar.gz(r-4.6-any)
iterpc_0.4.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
iterpc/json (API)

# Install 'iterpc' in R:
install.packages('iterpc', repos = c('https://randy3k.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/randy3k/iterpc/issues

Pkgdown/docs site:https://randy3k.github.io

On CRAN:

Conda:

7.34 score 9 stars 5 packages 59 scripts 2.7k downloads 9 exports 4 dependencies

Last updated from:a97e58b051. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK137
source / vignettesOK169
linux-release-x86_64OK122
macos-release-arm64OK81
macos-oldrel-arm64OK101
windows-develOK64
windows-releaseOK68
windows-oldrelOK71
wasm-releaseOK104

Exports:getallgetcurrentgetlengthgetnextiter_wrapperiterpcmultichoosenc_multisetnp_multiset

Dependencies:arrangementsgmpiteratorsR6

Examples of generating combinations

Rendered fromcombinations.Rmdusingknitr::rmarkdownon May 21 2026.

Last update: 2016-12-03
Started: 2016-12-03

Examples of generating permutations

Rendered frompermutations.Rmdusingknitr::rmarkdownon May 21 2026.

Last update: 2016-12-03
Started: 2016-12-03