Build Status CRAN Status AppVeyor Build Status

combiter: Combinatorics Iterators for R

This package provides iterators for combinations, permutations, subsets, and cartesian product, with which one can go through the elements without creating a huge set of all possible values.

Since v1.0.2, the iterator objects of the package inherit the iter class from iterators package. As a result, the objects are also compatible with foreach library.

Installation and import

Install from CRAN by:


Or install development version by:


Use by



Please visit the Documentation Page for the package introduction.