Explicit Parallelization


Instruct R code to execute operations with multiple R processes (possibly on different machines).

Multiple packages are available: parallel, snow/snowfall, foreach.R_hpc_packages

Note Examples: multicore(mclapply), Rmpi(plapply). Figure source

Note maybe useful reference.pdf

  • Rmpi

    R interface to MPI APIs.

    R is required at each compute node.

    Note Figure source with adaptation.