Foreach parallel adaptor for the Rmpi package