SWIRL

Swirl is an interactive R package that teaches you R programming.

It’s really fun. You can chek out the website as well SWIRL

Start by installing swirl

install.packages('swirl')
library(swirl)

The first time you start swirl, you’ll be prompted to install a course. You can either install one of the recommended courses - course repo

You can start with the basics - R Programming: The basics of programming in R

To install the course type

install_course("R Programming")

Now, type the following and press enter to start swirl

swirl()

This is the step that you will repeat every time you want to run swirl. First, you will load the package using the library(‘swirl’) function.

Then you will call the swirl() function that starts the magic!