A collection of iterators for generating permutations and combinations with or without replacement; with distinct items or 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 performances.

Maintainer: Randy Lai <randy.cs.lai at gmail.com>

Author(s): Randy Lai*

Install package and any missing dependencies by running this line in your R console:

install.packages("iterpc")

Depends R (>= 3.0.0)
Imports iterators, gmp(>=0.5-12), Rcpp(>=0.11.0)
Suggests foreach, testthat, knitr, rmarkdown
Enhances
Linking to Rcpp
Reverse
depends
Reverse
imports
ldamatch, robustrao, starmie
Reverse
suggests
Reverse
enhances
Reverse
linking to

Package iterpc
Materials
URL https://randy3k.github.io/iterpc
Task Views
Version 0.3.3
Published 2017-09-12
License GPL-2
BugReports
SystemRequirements
NeedsCompilation yes
Citation
CRAN checks iterpc check results
Package source iterpc_0.3.3.tar.gz