Introduction to R
R is very popular for data analytics which was created by Ross Ihaka and Robert Gentleman in 1993. Many big companies like Google, Facebook, Airbnb etc uses this language for data analytics. R is good for software developers, statisticians, researchers and data miners.
Key Features
- Interpreted programming language(no compilation required)
 - Provides highly extensible graphical techniques.
 - Good community support
 - Free and open-source
 - Handles data very effectively.
 - Ranks in top 10 according to TIOBE 2020 Index and gaining more popularity.
 
Why you should learn R
- R is highly flexible and it is evolving.
 - R is open-source and it is free to use
 - R is great for data science
 - R developers gonna have lucrative Career
 - Powerful visualization libraries.
 - You can also develop amazing web applications.
 - Great community support
 
Why R is so popular?
- R is one of the most go-to languages for data science.
 - R is used at Facebook and Twitter for data analysis.
 - R is used in almost all industries because of it's powerful capabilities.
 - Huge collection of packages
 - Many statisticians, researchers and scholars prefer R for data analysis.
 - R makes machine learning a lot more easy and approachable.
 - R is very popular for it's data visualization capabilities as well.
 
Installation
On Windows
- Download the software from R Downloads
 - Run the executable file to install R
 - Follow the installation steps by providing path etc and finish installation.
 
On Linux
- Most of the Linux distributions contains R by default. You can check by entering R in your terminal.
 - Run the below command to update the required files
 
sudo apt-get update 
- Run the below command to install R
 
sudo apt-get install r-base
Using OneCompiler
- You don't need to install any software or compiler.
 - Just goto OneCompiler and choose the programming language as 
Rand enjoy programming without any installation. 
Sample Program
print("Hello, World!")
Try yourself here
- print -- It is used to display the data to the console.
 - cat -- you can also use cat to display data to console.
 - # -- is used to comment a line in R and it does not support multi-line comments.