Chapter 45 Parallel Processing

What You’ll Learn:

  • parallel package
  • future package
  • Common pitfalls
  • When to parallelize

Difficulty: ⭐⭐⭐ Advanced

45.1 Summary

Use parallel processing in R with parallel and future packages.

Key Functions: - mclapply() - Parallel lapply (Unix) - parLapply() - Parallel lapply (cross-platform) - future_map() - Modern parallel mapping