Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

iterators-package

The Iterators Package


Description

The iterators package provides tools for iterating over various R data structures. Iterators are available for vectors, lists, matrices, data frames, and files. By following very simple conventions, new iterators can be written to support any type of data source, such as database queries or dynamically generated data.

Details

Further information is available in the following help topics:

iter Generic function used to create iterator objects.
nextElem Generic function used to get the next element of a iterator.
icount A function used to create a counting iterator.
idiv A function used to create a number dividing iterator.
ireadLines A function used to create a file reading iterator.

For a complete list of functions with individual help pages, use library(help="iterators").


iterators

Provides Iterator Construct

v1.0.13
Apache License (== 2.0)
Authors
Michelle Wallig [cre], Revolution Analytics [aut, cph], Steve Weston [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.