Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.


Introduction to Spark with sparklyr in R

via DataCamp


Learn how to run big data analysis using Spark and the sparklyr package in R, and explore Spark MLIb in just 4 hours.

R is mostly optimized to help you write data analysis code quickly and readably. Apache Spark is designed to analyze huge datasets quickly. The sparklyr package lets you write dplyr R code that runs on a Spark cluster, giving you the best of both worlds. This course teaches you how to manipulate Spark DataFrames using both the dplyr interface and the native interface to Spark, as well as trying machine learning techniques. Throughout the course, you'll explore the Million Song Dataset.


  • Light My Fire: Starting To Use Spark With dplyr Syntax
    • In which you learn how Spark and R complement each other, how to get data to and from Spark, and how to manipulate Spark data frames using dplyr syntax.
  • Tools of the Trade: Advanced dplyr Usage
    • In which you learn more about using the dplyr interface to Spark, including advanced field selection, calculating groupwise statistics, and joining data frames.
  • Going Native: Use The Native Interface to Manipulate Spark DataFrames
    • In which you learn about Spark's machine learning data transformation features, and functionality for manipulating native DataFrames.
  • Case Study: Learning to be a Machine: Running Machine Learning Models on Spark
    • A case study in which you learn to use sparklyr's machine learning routines, by predicting the year in which a song was released.

Taught by

Richie Cotton


Start your review of Introduction to Spark with sparklyr in R

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.