Free course

R Programming with swirl

Start Free Course
5 Hours15 Exercises7,863 Learners
3750 XP

Create Your Free Account

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA. You confirm you are at least 16 years old (13 if you are an authorized Classrooms user).

Loved by learners at thousands of companies

Course Description

This course contains all lessons from swirl's R Programming course. Learn about the powerful R programming language inside RStudio.

  1. 1

    The true basics

    This chapter introduces the basic building blocks of the R programming language. You'll learn how to do arithmetic, create variables, manipulate your workspace, work with files, and generate sequences of numbers.
    Play Chapter Now
  2. 2

    Data structures

    Understanding data structures is essential. In this chapter, you'll start with the simplest and most common data structure in R: the vector. You'll then learn how to deal with missing values, how to subset, and how to work with matrices and data frames.
    Play Chapter Now
  3. 3

    Logic, functions and the apply family

    This chapter introduces more advanced R programming topics like logic, functions, and one of R's most helpful assets: the 'apply' family of functions.
    Play Chapter Now
  4. 4

    Working with data

    This chapter is a first step towards working with real-world datasets. You’ll learn how look at data, do simulations, and work with dates and times. To end, you will do your first graphical explorations of data.
    Play Chapter Now

What do other learners have to say?

I've used other sites—Coursera, Udacity, things like that—but DataCamp's been the one that I've stuck with.

Devon Edwards Joseph
Lloyds Banking Group

DataCamp is the top resource I recommend for learning data science.

Louis Maiden
Harvard Business School

DataCamp is by far my favorite website to learn from.

Ronald Bowers
Decision Science Analytics, USAA