Skip to main content

Parallel Programming in R

Unlock the power of parallel computing in R. Enhance your data analysis skills, speed up computations, and process large datasets effortlessly.

Start Course for Free
4 Hours16 Videos49 Exercises

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Loved by learners at thousands of companies


Course Description

Speed Up Your Code with Parallel Programming



R programming language is a key part of the modern tech stack. But sometimes, R code takes a long time to run. The good news is that most modern computers have multiple processors. This course on parallel programming can help you speed up your code by harnessing the hardware you already have.

Learn the Key Concepts



In this course, you will systematically learn the key concepts of parallel programming. You will profile and benchmark common computations like bootstraps and function mappings. You will also learn to identify operations that can benefit from parallelization.

Use R Packages to Parrallelize Operations



As you progress, you’ll explore a suite of mature R packages (parallel, foreach, future). You will learn to use these packages to parallelize operations with lists, matrices, and data frames. Working through a variety of tasks, you will gain the skills to rein in the execution time of nested for loops. You will also learn how to monitor, debug, and resolve reproducibility issues of parallelized code.

Parallelize Your Existing Code



With these tools under your belt, you will be able to write parallelized code that runs significantly faster. By the time you finish, you’ll have the skills to parallelize and maintain existing code in a principled manner.
  1. 1

    Introduction to Parallel Programming

    Free

    Learn to identify those pesky speed bottlenecks in your R code. You will run a classic numerical operation in parallel and learn to check if it helps!

    Play Chapter Now
    Should we parallelize?
    50 xp
    When can you parallelize?
    50 xp
    Using parLapply()
    100 xp
    Parallelization in R
    50 xp
    Reading files in parallel
    100 xp
    Daily price ranges
    100 xp
    Measuring the benefits
    50 xp
    Bootstrapping the average maternal age
    100 xp
    Can we vectorize?
    100 xp
    Microbenchmark revenues
    100 xp

In the following tracks

R Developer

Collaborators

Collaborator's avatar
Jasmin Ludolf
Collaborator's avatar
James Chapman
Collaborator's avatar
Maarten Van den Broeck
Nabeel Imam HeadshotNabeel Imam

Data Scientist

Nabeel is a Senior Data Scientist with a background in biostatistics and genomics. As a self-taught programmer, he is passionate about making complex programming concepts accessible in an intuitive manner.
See More

What do other learners have to say?

Join over 13 million learners and start Parallel Programming in R today!

Create Your Free Account

GoogleLinkedInFacebook

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.