Open In App

R Programming Language – Introduction

R is an open-source programming language that is widely used as a statistical software and data analysis tool. R generally comes with the Command-line interface. R is available across widely used platforms like Windows, Linux, and macOS. Also, the R programming language is the latest cutting-edge tool.

It was designed by Ross Ihaka and Robert Gentleman at the University of Auckland, New Zealand, and is currently being developed by the R Development Core Team.



R programming language is an implementation of the S programming language. It also combines with lexical scoping semantics inspired by Scheme. Moreover, the project was conceived in 1992, with an initial version released in 1995 and a stable beta version in 2000.

R Programming Language



What is R Programming Language?

Why Use R?

Features of R Programming Language

Statistical Features of R

Basic R program

Since R is much similar to other widely used languages syntactically, it is easier to code and learn in R. Programs can be written in R in any of the widely used IDE like R Studio, Rattle, Tinn-R, etc. After writing the program save the file with the extension .r. To run the program use the following command on the command line:  

R file_name.r




# R program to print Welcome to GFG!
 
# Below line will print "Welcome to GFG!"
cat("Welcome to GFG!")

Output: 

Welcome to GFG!

Advantages of R

Disadvantages of R  

Applications of R  

Conclusion

In conclusion , R programming language has emerged as powerful and versatile too for data analysis, statistical modelling and machine learning. R remains the top choice for data scientists, statisticians and researchers across various domain.


Article Tags :