
R is a programming language for statistical computing and graphics. R provides a wide variety of statistical (linear and nonlinear modelling, classical statistical tests, time-series analysis, clustering etc.) and graphical techniques, and is highly extensible. You must be thinking when we already have Python why do we need R or vice versa. Both the languages can be compared on various attributes like ease of learning, data handling capabilities, graphical capabilities, service support, users community etc. , there is already a lot of discussions going on various web forums regarding this, which has no end. While some users prefer using one of them others use both Python and R next to each other.
Installing R on your system :
R is available as Free Software under the terms of the Free Software Foundation‘s GNU General Public License in source code form. You can download R by visiting www.cran.r-project.org/

Download the R package depending upon your operating system.
How to learn R ?
There are various resources available to learn R , websites like www.datacamp.com teaches R online for free.

You can take the “Introduction to R” course at www.datacamp.com, this course doesn’t required any previous knowledge of programming or data sciences.
Few R packages are also available like Swirl, which teaches user statistics and R simultaneously and interactively. You can install Swirl package on your system by following the simple steps.
- Open R on your system, type ” install.packages(“swirl”) ” on the console and press “Enter”.

- This command will prompt you to select a “CRAN mirror”, select the one in your region.

- It will automatically start downloading and installing swirl package.
- When it’s done, load the Swirl package by typing ” library(“swirl”) “ on the console.This is the only step that you have to repeat every time you want to run swirl.








