CMD + K

r-foreach

Community

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.

Installation

To install this package, run one of the following:

Conda
$conda install vfonov::r-foreach

Usage Tracking

1.5.1
1 / 8 versions selected
Total downloads: 0

About

Summary

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.

Information Last Updated

Mar 25, 2025 at 16:23

License

Apache License (== 2.0)

Total Downloads

10

Platforms

Linux 64 Version: 1.5.1