[This article was first published on R Video Blog!
, and kindly contributed to R-bloggers
]. (You can report issue about the content on this page here
Want to share your content on R-bloggers? click here
if you have a blog, or here
if you don't.
Multicore (parallel) processing in R from Wallace Campbell on Vimeo.
If you're not programming in parallel, you're only using a fraction of your computer's power! I demonstrate how to run “for” loops in parallel using the mclapply function from the multicore library. The code can be scaled to any number of available cores.