A guide to parallelism in R – Florian Privé – R(cpp) enthusiast
In this post, I talk about parallelism in R. This post is likely biased towards the solutions I use. For example, I never use mcapply nor clusterApply; I prefer to always use foreach. In this post, we will focus on how to parallelize R code on your computer with package {foreach}. In this post, I use mainly silly examples just to show one point at a time. Basics of foreach You can install R package {foreach} with install.packages("foreach"). library(foreach)