foreach: Provides Foreach Looping Construct for R

Support for the foreach looping construct. Foreach is an idiom that allows for iterating over elements in a collection, without the use of an explicit loop counter. This package in particular is intended to be used for its return value, rather than for its side effects. In that sense, it is similar to the standard lapply function, but doesn't require the evaluation of a function. Using foreach without side effects also facilitates executing the loop in parallel.

Install the latest version of this package by entering the following in R:
AuthorRich Calaway [cre], Revolution Analytics [aut, cph], Steve Weston [aut]
Date of publication2015-10-13 09:12:53
MaintainerRich Calaway <>
LicenseApache License (== 2.0)

View on CRAN

Hadoop Online Training by Edureka

Questions? Problems? Suggestions? or email at

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

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