How to learn R programming

0

If you’ve wanted to learn R programming but didn’t know where to start there is a great R packaged called Swirl that teaches you R within R.

First, you need is to install R and R Studio.

Next, you need to install the Swirl package in R. Do do this you need to open R Studio and next to the prompt (>) type the following:
> install.packages(“swirl”)

Then just run Swirl and it will guide you through learning R. In order to start Swirl type the following at the prompt:
> library(“swirl”)
> swirl()

This is really great package and will get you to a point where you feel pretty comfortable programming in R. It’s the basics but enough to get you off and running!

LEAVE A REPLY