foreach: Provides Foreach Looping Construct for R

Share:

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.

Author
Rich Calaway [cre], Revolution Analytics [aut, cph], Steve Weston [aut]
Date of publication
2015-10-12 01:37:31
Maintainer
Rich Calaway <richcala@microsoft.com>
License
Apache License (== 2.0)
Version
1.4.3

View on R-Forge

Man pages

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
registerDoSEQ
registerDoSEQ
setDoPar
setDoPar
setDoSeq
setDoSeq

Files in this package

foreach/DESCRIPTION
foreach/NAMESPACE
foreach/NEWS
foreach/R
foreach/R/acc.R
foreach/R/do.R
foreach/R/foreach.R
foreach/R/getsyms.R
foreach/R/times.R
foreach/R/zzz.R
foreach/build
foreach/build/vignette.rds
foreach/demo
foreach/demo/00Index
foreach/demo/sincSEQ.R
foreach/inst
foreach/inst/doc
foreach/inst/doc/foreach.R
foreach/inst/doc/foreach.Rnw
foreach/inst/doc/foreach.pdf
foreach/inst/doc/nested.R
foreach/inst/doc/nested.Rnw
foreach/inst/doc/nested.pdf
foreach/inst/examples
foreach/inst/examples/apply.R
foreach/inst/examples/bigmax.R
foreach/inst/examples/bigmean.R
foreach/inst/examples/bigmean2.R
foreach/inst/examples/bootpar.R
foreach/inst/examples/bootpar2.R
foreach/inst/examples/bootseq.R
foreach/inst/examples/colMeans.R
foreach/inst/examples/comprehensions.R
foreach/inst/examples/cross.R
foreach/inst/examples/feapply.R
foreach/inst/examples/for.R
foreach/inst/examples/germandata.txt
foreach/inst/examples/isplit.R
foreach/inst/examples/matmul.R
foreach/inst/examples/matmul2.R
foreach/inst/examples/output.R
foreach/inst/examples/pi.R
foreach/inst/examples/qsort.R
foreach/inst/examples/rf.R
foreach/inst/examples/sinc.R
foreach/inst/examples/sinc2.R
foreach/inst/examples/sqlite.R
foreach/inst/examples/tuneRF.R
foreach/inst/unitTests
foreach/inst/unitTests/combineTest.R
foreach/inst/unitTests/errorTest.R
foreach/inst/unitTests/foreachTest.R
foreach/inst/unitTests/iteratorTest.R
foreach/inst/unitTests/loadFactorTest.R
foreach/inst/unitTests/mergeTest.R
foreach/inst/unitTests/nestedTest.R
foreach/inst/unitTests/packagesTest.R
foreach/inst/unitTests/runTestSuite.sh
foreach/inst/unitTests/stressTest.R
foreach/inst/unitTests/whenTest.R
foreach/man
foreach/man/foreach-ext.Rd
foreach/man/foreach-package.Rd
foreach/man/foreach.Rd
foreach/man/getDoParWorkers.Rd
foreach/man/getDoSeqWorkers.Rd
foreach/man/registerDoSEQ.Rd
foreach/man/setDoPar.Rd
foreach/man/setDoSeq.Rd
foreach/tests
foreach/tests/doRUnit.R
foreach/vignettes
foreach/vignettes/foreach.Rnw
foreach/vignettes/nested.Rnw