This book makes frequent use of the foreach package in R to parallelize computations. This package, developed by Steve Weston of Revolution Analytics, allows users to write operating system–independent (OS-independent) multicore code. It works by acting as a single OS-independent interface to different OS-dependent parallel back ends.
At face value, the package seems to implement this idea well. Windows users rely on doParallel for a parallel back end, and UNIX users rely on doMC for a parallel back end. All of the examples in the official package documentation run without problems. ...