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.

Total

5,218,883

Last month

135,491

Last week

27,633

Average per day

4,516

Daily downloads

Total downloads

Description file content

Package
foreach
Type
Package
Title
Provides Foreach Looping Construct
Version
1.4.7
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)
NeedsCompilation
no
Packaged
2019-07-16 21:07:01 UTC; richcala
Author
Hong Ooi [cre], Microsoft [aut, cph], Steve Weston [aut]
Maintainer
Hong Ooi
Repository
CRAN
Date/Publication
2019-07-27 23:00:35 UTC

install.packages('foreach')

1.4.7

22 days ago

Hong Ooi

Apache License (== 2.0)

Depends on

R (>= 2.5.0)

Imports

codetools, utils, iterators

Suggests

randomForest

Discussions