R Lang
R Lang
# Below line will print "Welcome to GFG!"
cat("Welcome to GFG!")
Output:
Welcome to GFG!
Advantages of R:
R is the most comprehensive statistical analysis package. As new
technology and concepts often appear first in R.
As R programming language is an open source. Thus, you can run R
anywhere and at any time.
R programming language is suitable for GNU/Linux and Windows
operating system.
R programming is cross-platform which runs on any operating system.
In R, everyone is welcome to provide new packages, bug fixes, and code
enhancements.
Disadvantages of R:
In the R programming language, the standard of some packages is less
than perfect.
Although, R commands give little pressure to memory management. So R
programming language may consume all available memory.
In R basically, nobody to complain if something doesn’t work.
R programming language is much slower than other programming
languages such as Python and MATLAB.
Applications of R:
We use R for Data Science. It gives us a broad variety of libraries related
to statistics. It also provides the environment for statistical computing and
design.
R is used by many quantitative analysts as its programming tool. Thus, it
helps in data importing and cleaning.
R is the most prevalent language. So many data analysts and research
programmers use it. Hence, it is used as a fundamental tool for finance.
Tech giants like Google, Facebook, bing, Twitter, Accenture, Wipro and
many more using R nowadays.
R and Python both play a major role in data science. It becomes confusing
for any newbie to choose the better or the most suitable one among the two,
R and Python. So take a look at R vs Python for Data Science to choose
which language is more suitable for data science.