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.

Documentation

Manual: iterpc.pdf
Vignette: None available.

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

Author(s): Randy Lai*, Martin Broadhurst*

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
Enhances
Linking to Rcpp
Reverse
depends
glm.predict
Reverse
imports
ldamatch, robustrao, starmie
Reverse
suggests
Reverse
enhances
Reverse
linking to

Package iterpc
Materials
URL http://randy3k.github.io/iterpc
Task Views
Version 0.3.0
Published 2016-05-31
License GPL-2
BugReports
SystemRequirements GNU make
NeedsCompilation yes
Citation
CRAN checks iterpc check results
Package source iterpc_0.3.0.tar.gz