itertools2: itertools2: Functions creating iterators for efficient looping

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
https://github.com/ramhiser/itertools2
http://ramhiser.com

View on CRAN

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.

Files in this package

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

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.