Learn R Programming

⚠️There's a newer version (1.5.2) of this package.Take me there.

foreach (version 1.4.4)

Provides Foreach Looping Construct for R

Description

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.

Copy Link

Version

Install

install.packages('foreach')

Monthly Downloads

299,940

Version

1.4.4

License

Apache License (== 2.0)

Maintainer

Rich Calaway

Last Published

December 12th, 2017

Functions in foreach (1.4.4)

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