iterpc: Efficient Iterator for Permutations and Combinations
Version 0.3.0

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.

Getting started

Package details

AuthorRandy Lai [aut, cre], Martin Broadhurst [aut]
Date of publication2016-05-31 07:49:57
MaintainerRandy Lai <>
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the iterpc package in your browser

Any scripts or data that you put into this service are public.

iterpc documentation built on May 30, 2017, 4:11 a.m.