http://danielfischer.name/science/lectures/introduction-to-r/parallelisation/
Parallelisation