What is R programming?
R programming is different from other programming languages like Python, C# and C, etc. R programming is the best programming language to analyze data. R programming provides many features to understand the data better in a more understandable form but these features will be discussed later. Now, let's focus on the background of R programming language
R programming is open source, which means it is free with GNU General Public License and the pre-compiled versions are available for cross platforms like Windows, Linux, and MAC OS.
According to some books, R programming language is named based on the author's first letter (Robert Gentleman and Ross Ihaka).
History of R programming language
R programming language was developed at the University of Auckland, New Zealand by Ross Ihaka and Robert Gentleman for statistical analysis, graphics representation, and reporting of data; and currently is developed by the R development core team.
R programming language's initial version was released in 1994 and a stable beta version in 2000.
Prerequisites
You must have a basic understanding of computer programming languages, and if you are an expert in any programming language, it is advantageous for you.
Basic syntax of R programming
R programming also has a simple syntax like Python programmin,g and it is easy to understand. For example,
- # Print Hello World.
- print("Hello World")
- # Add two numbers.
- print(23.9 + 11.6)
R programming can also have some basic features like other programming languages and they are listed below:
- Decision making
- If statement
- Else if statement
- Switch statement
- Looping
- Repeat loop
- While loop
- For loop
- Array and list
- Functions
R programming data interface
R programming supports many type data interfaces that are listed below:
- R-CSV file
- R-Excel file
- R-Binary file
- R-XML file
- R-JSON file
- R-Web data
- R-database
R charts and Graph
R programming supports all the charts and graphs listed below:
- R - Pie Charts
- R - Bar Charts
- R - Boxplots
- R - Histograms
- R - Line Graphs
- R - Scatterplots
Operations performed using R programming
In R programming, we can perform all the operations, using built-in functions, given below:
- R - Mean, Median & Mode
- R - Linear Regression
- R - Multiple Regression
- R - Logistic Regression
- R - Normal Distribution
- R - Binomial Distribution
- R - Poisson Regression
- R - Analysis of Covariance
- R - Time Series Analysis
- R - Nonlinear Least Square
- R - Decision Tree
- R - Random Forest
- R - Survival Analysis
- R - Chi Square Tests
I hope you liked this article.


Rahul DasondhiPosted Jan 7, 2019, 11:13 PM EST
Thanks for such usefull information in R Programming,
Hadshana KamalanathanTOP 100Posted Jul 21, 2018, 11:59 PM EDT
Useful one
Delpin Susai RajTOP 100Posted Aug 28, 2016, 5:48 AM EDT
Nice post
Ajay MalikPosted Jun 24, 2016, 9:07 PM EDT
Tq
Santhakumar MunuswamyPosted Jun 24, 2016, 8:46 PM EDT
Thank you for nice article
Ajay MalikPosted Jun 23, 2016, 6:24 AM EDT
Tq
Prasanna MuraliPosted Jun 23, 2016, 6:17 AM EDT
Nice one...
Ajay MalikPosted Jun 22, 2016, 11:15 PM EDT
tq
GokulPosted Jun 22, 2016, 11:12 PM EDT
Thanks for sharing
Ajay MalikPosted Jun 21, 2016, 10:06 PM EDT
Tq..
kalu singh raoPosted Jun 21, 2016, 9:51 PM EDT
Nice...
Raja TPosted Jun 21, 2016, 5:10 PM EDT
Nice thanks for sharing
Vignesh ManiTOP 100Posted Jun 21, 2016, 1:00 PM EDT
nice one
Ajay MalikPosted Jun 21, 2016, 9:10 AM EDT
tq
Kuppurasu NagarajTOP 100Posted Jun 21, 2016, 8:38 AM EDT
Nice Sharing..
Praveen SreeramPosted Jun 21, 2016, 6:28 AM EDT
Good start