I'd like to announce the availability of the new "itertools" package, which provides a variety of functions used to create iterators, as defined by REvolution Computing's "iterators" package. The package has been uploaded to CRAN and is now available under the GPL-2 license.
The "itertools" package is strongly inspired by the Python itertools module, and includes a number of functions of the same name. There are a variety of functions that create iterators for splitting, chunking, repeating, recycling, zipping, and filtering your data. There is also an "ihasNext" function, written by Hadley Wickham, that adds a "hasNext" method to any iterator, making it easier to get values from an iterator without the use of the "foreach" function. Hadley also contributed some utility functions for writing your own iterators. - Steve Weston _______________________________________________ R-packages mailing list r-packa...@r-project.org https://stat.ethz.ch/mailman/listinfo/r-packages ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.