foreach
foreach copied to clipboard
R package to provide foreach looping construct
# Background Some package register dopar adaptors internally, e.g. ```r pkg_fcn
setDoPar() and setDoSeq() return previously registered settings. Previously registered settings can be reset by passing them to setDoPar() and setDoSeq(), respectively. Fixes #19
Fixes #20
The vignette indices do not match the intended vignette titles, e.g. ``` title: Using the `foreach` package author: Steve Weston output: rmarkdown::html_vignette vignette: > %\VignetteIndexEntry{foreach} %\VignetteEngine{knitr::rmarkdown} %\VignetteEncoding{utf8} --- ``` There...
This is a feature request. It would be really nice to keep the names of the iterated list in the results. Here's an example. ``` xList
# Background ## Original implementation In April 2018, in an unreleased version 1.4.6 of foreach, Rich Calaway introduced a new feature that used Henrik Bengtsson's future package (if available) to...
In the documentation it indicates you don't need .multicombine=T when using foreach with .combine=rbind. This is incorrect; trying to return an array without .multicombine=T produces an absurdly slow result. ```...
I noticed that `foreach` could execute repeated operations on **multiple nodes** of a cluster. But so far I can only find parallelism in multiple threads on a single node. How...