Skip to Content

foreach

Foreach looping construct for R
Revolution Analytics, Steve Weston
Apache License (== 2.0)
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.
Versions
Package Version Released
foreach 1.4.1 46 weeks 7 hours ago
foreach 1.4.0 2 years 1 week ago
foreach 1.3.5 2 years 5 weeks ago
foreach 1.3.4 2 years 6 weeks ago
foreach 1.3.2 2 years 48 weeks ago
foreach 1.3.0 4 years 28 weeks ago
foreach 1.2.1
foreach 1.2.0-1
4.76842
Your rating: None Overall: 4.8 (570 votes)
3.99147
Your rating: None Documentation: 4 (469 votes)