chain: Create a chaining iterator

Description Usage Arguments Examples

Description

Create an iterator that chains multiple iterables together.

Usage

1

Arguments

...

The iterables to iterate over.

Examples

1
2
# Iterate over two iterables
as.list(chain(1:2, letters[1:3]))


Search within the itertools package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.