Mastering Parallel Programming with R

Master the robust features of R parallel programming to accelerate your data science computations
Preview in Mapt

Mastering Parallel Programming with R

Simon R. Chapple et al.

1 customer reviews
Master the robust features of R parallel programming to accelerate your data science computations
Mapt Subscription
FREE
$29.99/m after trial
eBook
$19.60
RRP $27.99
Save 29%
Print + eBook
$34.99
RRP $34.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$19.60
$34.99
$29.99p/m after trial
RRP $27.99
RRP $34.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Mastering Parallel Programming with R Book Cover
Mastering Parallel Programming with R
$ 27.99
$ 19.60
Parallel Programming with Python Book Cover
Parallel Programming with Python
$ 13.99
$ 9.80
Buy 2 for $27.30
Save $14.68
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

Book Details

ISBN 139781784394004
Paperback244 pages

Book Description

R is one of the most popular programming languages used in data science. Applying R to big data and complex analytic tasks requires the harnessing of scalable compute resources.

Mastering Parallel Programming with R presents a comprehensive and practical treatise on how to build highly scalable and efficient algorithms in R. It will teach you a variety of parallelization techniques, from simple use of R’s built-in parallel package versions of lapply(), to high-level AWS cloud-based Hadoop and Apache Spark frameworks. It will also teach you low level scalable parallel programming using RMPI and pbdMPI for message passing, applicable to clusters and supercomputers, and how to exploit thousand-fold simple processor GPUs through ROpenCL. By the end of the book, you will understand the factors that influence parallel efficiency, including assessing code performance and implementing load balancing; pitfalls to avoid, including deadlock and numerical instability issues; how to structure your code and data for the most appropriate type of parallelism for your problem domain; and how to extract the maximum performance from your R code running on a variety of computer systems.

Table of Contents

Chapter 1: Simple Parallelism with R
Aristotle's Number Puzzle
The R parallel package
The segue package
Summary
Chapter 2: Introduction to Message Passing
Setting up your system environment for MPI
The MPI standard
The MPI API
Summary
Chapter 3: Advanced Message Passing
Grid parallelism
Inspecting and managing communications
Variants on lapply()
Summary
Chapter 4: Developing SPRINT, an MPI-Based R Package for Supercomputers
About ARCHER
Calling MPI code from R
Building an MPI R package – SPRINT
Adding a new function to the SPRINT package
Genomics analysis case study
Genomics with a supercomputer
Summary
Chapter 5: The Supercomputer in Your Laptop
OpenCL
The ROpenCL package
Summary
Chapter 6: The Art of Parallel Programming
Understanding parallel efficiency
Numerical approximation
Random numbers
Deadlock
Reducing the parallel overhead
Adaptive load balancing
Three steps to successful parallelization
What does the future hold?
Hybrid parallelism
Summary

What You Will Learn

  • Create and structure efficient load-balanced parallel computation in R, using R’s built-in parallel package
  • Deploy and utilize cloud-based parallel infrastructure from R, including launching a distributed computation on Hadoop running on Amazon Web Services (AWS)
  • Get accustomed to parallel efficiency, and apply simple techniques to benchmark, measure speed and target improvement in your own code
  • Develop complex parallel processing algorithms with the standard Message Passing Interface (MPI) using RMPI, pbdMPI, and SPRINT packages
  • Build and extend a parallel R package (SPRINT) with your own MPI-based routines
  • Implement accelerated numerical functions in R utilizing the vector processing capability of your Graphics Processing Unit (GPU) with OpenCL
  • Understand parallel programming pitfalls, such as deadlock and numerical instability, and the approaches to handle and avoid them
  • Build a task farm master-worker, spatial grid, and hybrid parallel R programs

Authors

Table of Contents

Chapter 1: Simple Parallelism with R
Aristotle's Number Puzzle
The R parallel package
The segue package
Summary
Chapter 2: Introduction to Message Passing
Setting up your system environment for MPI
The MPI standard
The MPI API
Summary
Chapter 3: Advanced Message Passing
Grid parallelism
Inspecting and managing communications
Variants on lapply()
Summary
Chapter 4: Developing SPRINT, an MPI-Based R Package for Supercomputers
About ARCHER
Calling MPI code from R
Building an MPI R package – SPRINT
Adding a new function to the SPRINT package
Genomics analysis case study
Genomics with a supercomputer
Summary
Chapter 5: The Supercomputer in Your Laptop
OpenCL
The ROpenCL package
Summary
Chapter 6: The Art of Parallel Programming
Understanding parallel efficiency
Numerical approximation
Random numbers
Deadlock
Reducing the parallel overhead
Adaptive load balancing
Three steps to successful parallelization
What does the future hold?
Hybrid parallelism
Summary

Book Details

ISBN 139781784394004
Paperback244 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Learning Bayesian Models with R Book Cover
Learning Bayesian Models with R
$ 35.99
$ 25.20
R for Data Science Book Cover
R for Data Science
$ 29.99
$ 21.00
Practical Data Science Cookbook Book Cover
Practical Data Science Cookbook
$ 29.99
$ 21.00
Mastering Predictive Analytics with R Book Cover
Mastering Predictive Analytics with R
$ 39.99
$ 28.00
Machine Learning with R - Second Edition Book Cover
Machine Learning with R - Second Edition
$ 43.99
$ 30.80
R Machine Learning By Example Book Cover
R Machine Learning By Example
$ 39.99
$ 28.00