foreach v1.4.4


Monthly downloads



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.

Functions in foreach

Name Description
registerDoSEQ registerDoSEQ
setDoPar setDoPar
setDoSeq setDoSeq
foreach foreach
foreach-ext Foreach Extension Functions
foreach-package The Foreach Package
getDoParWorkers Functions Providing Information on the doPar Backend
getDoSeqWorkers Functions Providing Information on the doSeq Backend
No Results!

Vignettes of foreach

No Results!

Last month downloads


Type Package
License Apache License (== 2.0)
Repository CRAN
Repository/R-Forge/Project foreach
Repository/R-Forge/Revision 31
Repository/R-Forge/DateTimeStamp 2017-12-08 23:08:19
Date/Publication 2017-12-12 22:37:36 UTC
NeedsCompilation no
Packaged 2017-12-08 23:33:48 UTC; rforge

Include our badge in your README