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.

Version: 0.3.4
Depends: R (≥ 3.0.0)
Imports: iterators, gmp (≥ 0.5-12), Rcpp (≥ 0.11.0)
LinkingTo: Rcpp
Suggests: foreach, testthat, knitr, rmarkdown
Published: 2017-12-06
Author: Randy Lai [aut, cre]
Maintainer: Randy Lai <randy.cs.lai at>
License: GPL-2
NeedsCompilation: yes
Materials: README
CRAN checks: iterpc results


Reference manual: iterpc.pdf
Vignettes: Examples of generating combinations
Examples of generating permutations
Package source: iterpc_0.3.4.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X El Capitan binaries: r-release: iterpc_0.3.4.tgz
OS X Mavericks binaries: r-oldrel: iterpc_0.3.4.tgz
Old sources: iterpc archive

Reverse dependencies:

Reverse imports: ldamatch, MendelianRandomization, MOLHD, robustrao, starmie


Please use the canonical form to link to this page.