Week 8 - Parallel & Efficient R

Objectives

  • Basic Understanding of single vs multithread, parallelism

Topics

  • Parallel Computing with R and Big(ger) Data
    • R is single threaded
    • It math libraries may not be
    • parallel package as perfect start
      • mclapply
      • parLapply
    • simple benchmarking
    • also foreach, future, …
    • big data / external memory / bigmemory
  • Efficient R Programming (Gillespie/Lovelace book)
    • Chapter 3: Efficient Programming
    • Chapter 5: Efficient I/O
    • Chapter 6: Efficient Data Carpentry
    • Chapter 7: Efficient Optimization

Core Material

Additional Resources