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 1 year 27 weeks ago
foreach 1.4.0 2 years 35 weeks ago
foreach 1.3.5 2 years 39 weeks ago
foreach 1.3.4 2 years 39 weeks ago
foreach 1.3.2 3 years 30 weeks ago
foreach 1.3.0 5 years 10 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)