foreach

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.

Total

3,152,778

Last month

85,653

Last week

21,681

Average per day

2,855

Daily downloads

Total downloads

Description file content

Package
foreach
Type
Package
Title
Provides Foreach Looping Construct for R
Version
1.4.3
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.
Depends
R (>= 2.5.0)
Imports
codetools, utils, iterators
Suggests
randomForest
Enhances
compiler, doMC, RUnit, doParallel
License
Apache License (== 2.0)
Author
Rich Calaway [cre], Revolution Analytics [aut, cph], Steve Weston [aut]
Maintainer
Rich Calaway
Repository
CRAN
Repository/R-Forge/Project
foreach
Repository/R-Forge/Revision
27
Repository/R-Forge/DateTimeStamp
2015-10-12 01:37:31
Date/Publication
2015-10-13 09:12:53
NeedsCompilation
no
Packaged
2015-10-12 02:26:29 UTC; rforge

install.packages('foreach')

1.4.3

02 years ago

Rich Calaway

Apache License (== 2.0)

Depends on

R (>= 2.5.0)

Imports

codetools, utils, iterators

Suggests

randomForest

Discussions