itertools2: itertools2: Functions creating iterators for efficient looping
Version 0.1.1

A port of Python's excellent itertools module to R for efficient looping.

AuthorJohn A. Ramey <johnramey@gmail.com>, Kayla Schaefer <kschaefer.tx@gmail.com>
Date of publication2014-08-08 15:16:57
MaintainerJohn A. Ramey <johnramey@gmail.com>
LicenseMIT + file LICENSE
Version0.1.1
URL https://github.com/ramhiser/itertools2 http://ramhiser.com
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("itertools2")

Getting started

README.md

Popular man pages

consume: Consumes the first n elements of an iterator
icompress: Iterator that filters elements where corresponding selector...
ienumerate: Iterator that returns the elements of an object along with...
ipad: Iterator that returns an object followed indefinitely by a...
iroundrobin: Iterator that traverses each given iterable in a roundrobin...
iunique_justseen: Iterator that extracts the just-seen unique elements from an...
quantify: Count the number of times an iterable object is TRUE
See all...

All man pages Function index File listing

Man pages

consume: Consumes the first n elements of an iterator
dotproduct: Computes the dot product of two iterable objects
ichain: Iterator that chains multiple arguments together into a...
ichunk: Iterator that returns elements in fixed-length chunks
icompress: Iterator that filters elements where corresponding selector...
icount: Iterator of neverending numeric sequence with initial value...
icycle: Iterator that cycles indefinitely through an iterable object
idropwhile: Iterator that drops elements until the predicate function...
ienumerate: Iterator that returns the elements of an object along with...
ifilter: Iterator that filters elements not satisfying a predicate...
ilength: Consumes an iterator and computes its length
imap: Iterator that applies a given function to several iterables...
ipad: Iterator that returns an object followed indefinitely by a...
ipairwise: Iterator that returns elements of an object in pairs
iproduct: Iterator that returns the Cartesian product of the arguments.
irep: Iterator that replicates elements of an iterable object
irepeat: Iterator that returns an object indefinitely
iroundrobin: Iterator that traverses each given iterable in a roundrobin...
iseq: Iterators for sequence generation
is_iterator: Helper function that determines whether is an iterator object
islice: Iterator that returns selected elements from an iterable.
istarmap: Iterator that applies a given function to the elements of an...
itabulate: Iterator that maps a function to a sequence of numeric values
itakewhile: Iterator that returns elements while a predicate function...
itee: Returns a list of n independent iterators from a single...
iter_deepcopy: Performs a deep copy of an iterator
iter_length: Helper function that determines the length of an iterator...
itertools2: itertools2: Functions creating iterators for efficient...
iunique: Iterator that extracts the unique elements from an iterable...
iunique_justseen: Iterator that extracts the just-seen unique elements from an...
izip: Iterator that iterates through several iterables...
izip_longest: Iterator that iterates through several iterables...
nth: Returns the nth item of an iterator
quantify: Count the number of times an iterable object is TRUE
stop_iteration: Helper function that determines whether an object inherits...
take: Return the first n elements of an iterable object as a list
try_nextElem: Calls iterators::nextElem(). If error, returns default value.

Functions

Files

tests
tests/testthat.r
tests/testthat
tests/testthat/test-islice.r
tests/testthat/test-iunique.r
tests/testthat/test-consume.r
tests/testthat/test-icycle.r
tests/testthat/test-iseq.r
tests/testthat/test-iproduct.r
tests/testthat/test-ipairwise.r
tests/testthat/test-ifilterfalse.r
tests/testthat/test-izip-longest.r
tests/testthat/test-ilength.r
tests/testthat/test-istarmap.r
tests/testthat/test-izip.r
tests/testthat/test-take.r
tests/testthat/test-ichain.r
tests/testthat/test-itakewhile.r
tests/testthat/test-imap.r
tests/testthat/test-irep.r
tests/testthat/test-icompress.r
tests/testthat/test-ichunk.r
tests/testthat/test-iroundrobin.r
tests/testthat/test-ifilter.r
tests/testthat/test-itee.r
tests/testthat/test-irepeat.r
tests/testthat/test-quantify.r
tests/testthat/test-idropwhile.r
tests/testthat/test-ipad.r
tests/testthat/test-ienumerate.r
tests/testthat/test-itabulate.r
tests/testthat/test-dotproduct.r
tests/testthat/test-icount.r
NAMESPACE
NEWS
R
R/itee.r
R/ienumerate.r
R/izip-longest.r
R/ichunk.r
R/ifilter.r
R/itabulate.r
R/dotproduct.r
R/icount.r
R/quantify.r
R/ichain.r
R/iroundrobin.r
R/irepeat.r
R/ipairwise.r
R/islice.r
R/utilities.r
R/idropwhile.r
R/consume.r
R/ipad.r
R/itakewhile.r
R/imap.r
R/irep.r
R/iproduct.r
R/itertools2.r
R/istarmap.r
R/icompress.r
R/iunique.r
R/take.r
R/icycle.r
R/ilength.r
R/iseq.r
R/izip.r
README.md
MD5
DESCRIPTION
man
man/iproduct.Rd
man/ipad.Rd
man/itee.Rd
man/dotproduct.Rd
man/irep.Rd
man/ichain.Rd
man/icycle.Rd
man/icompress.Rd
man/ichunk.Rd
man/ilength.Rd
man/iter_deepcopy.Rd
man/take.Rd
man/stop_iteration.Rd
man/ienumerate.Rd
man/consume.Rd
man/itakewhile.Rd
man/ifilter.Rd
man/try_nextElem.Rd
man/ipairwise.Rd
man/itertools2.Rd
man/irepeat.Rd
man/itabulate.Rd
man/iunique.Rd
man/imap.Rd
man/iroundrobin.Rd
man/nth.Rd
man/idropwhile.Rd
man/quantify.Rd
man/iunique_justseen.Rd
man/izip.Rd
man/izip_longest.Rd
man/iseq.Rd
man/icount.Rd
man/islice.Rd
man/istarmap.Rd
man/is_iterator.Rd
man/iter_length.Rd
LICENSE
itertools2 documentation built on May 20, 2017, 4:53 a.m.

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

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

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