As the title suggest, I am confused about what is the difference between both package as they are both used in parallel computing in R.
Asked
Active
Viewed 302 times
1 Answers
0
foreach
can execute using either %do%
or %dopar%
... it only runs in parallel with %dopar%
More information available here: https://cran.r-project.org/web/packages/foreach/vignettes/foreach.pdf

johnjps111
- 1,160
- 9
- 24
-
how about 'parallel' or 'doParallel' package? – Lewis Wong Sep 14 '17 at 17:56
-
https://cran.r-project.org/web/packages/doParallel/vignettes/gettingstartedParallel.pdf – johnjps111 Sep 14 '17 at 18:07