Getting Started

This page takes an estimated 40 minutes to complete.

The content of this module is from this Coursera course offered by Johns Hopkins University.

Enrolling in the Course

1. Navigate to the course home page

2. Click on the Enroll button

3. Choose the "Data Science: Foundations using R Specialization" option.

4. Click "Next"

5. If you plan to study R beyond the scope of this guide, then feel free to proceed with the free trial initialization process and enter your financial credentials. If not, choose the "Audit course" option.

Install R and R Studio

Using the course resources, download and install R and R Studio on your machine. You can follow the below links for convenience.

For Mac users

For Windows users:

Set Up swirl

The swirl teaches you R programming and data science interactively, at your own pace, and right in the R console. We use swirl for practice problems.

To install it, follow the below steps.

1. Open RStudio and type the following into the console.

> install.packages("swirl")

2. This is the only step that you will repeat every time you want to run swirl. First, you will load the package using the library() function. Then you will call the function that starts swirl. Type the following, pressing Enter after each line:

> library("swirl")
> swirl()

You can read more about swirl here.

Congratulations!

If you made it here, then congratulations! You have successfully completed this section. Move to the next portion of the guide with the arrow buttons below.

Last updated