That's a wrap!

Parallel Programming in R

Nabeel Imam

Data Scientist

What you learned

Parallel programming basics

  • Clusters, cores, or workers
  • Profiling with profvis()
  • Benchmarking with microbenchmark()
Parallel Programming in R

What you learned

Functional

  • parallel
    • parLapply() and family
    • clusterMap() for multiple inputs
  • furrr
    • future_map() and other variants
    • future_pmap() for multiple inputs

Loops

  • foreach
    • Parallel loops with %dopar%
    • Iterators
Parallel Programming in R

What you learned

Troubleshooting

  • Memory management
  • Reproducibility
  • Debugging
Parallel Programming in R

Further learning

  • Parallel R by Q. Ethan McCallum and Stephen Weston
  • Mastering Parallel Programming with R by Simon R. Chapple et al.
Parallel Programming in R

Congratulations!

Parallel Programming in R

Preparing Video For Download...