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.
Last updated 3 years ago
foreachparallel-computing
17.21 score 54 stars 2.7k dependents 43k scripts 281k downloadsdoParallel - Foreach Parallel Adaptor for the 'parallel' Package
Provides a parallel backend for the %dopar% function using the parallel package.
Last updated 3 years ago
14.58 score 5 stars 1.3k dependents 50k scripts 125k downloadsiterators - Provides Iterator Construct
Support for iterators, which allow a programmer to traverse through all the elements of a vector, list, or other collection of data.
Last updated 3 years ago
13.72 score 5 stars 2.8k dependents 1.6k scripts 270k downloads