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

foreach

Provides Foreach Looping Construct

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.

Functions (8)

foreach

Provides Foreach Looping Construct

v1.5.1
Apache License (== 2.0)
Authors
Michelle Wallig [cre], Microsoft [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.