Introduction To R
Introduction To R
Introduction To R
INTRODUCTION TO R
Aim: To understand about the history of R Programming, the basics of R programming Statistic
Importance of R Programming.
Objective: The students will be able to
• Install R and starting R for implementation
• Understand the History, Evolution, Features, Advantages and disadvantages, Applications of
R programming and Comparison with python.
Concepts / Theory:
History of R
• R is a language and environment for statistical computing and graphics. It is a GNU
project which is similar to the S language and environment which was developed at Bell
Laboratories (formerly AT&T, now Lucent Technologies) by John Chambers and
colleagues. R can be considered as a different implementation of S. There are some
important differences, but much code written for S runs unaltered under R.
• R provides a wide variety of statistical (linear and nonlinear modelling, classical statistical
tests, time-series analysis, classification, clustering, …) and graphical techniques, and is
highly extensible. The S language is often the vehicle of choice for research in statistical
methodology, and R provides an Open-Source route to participation in that activity.
• One of R’s strengths is the ease with which well-designed publication-quality plots can be
produced, including mathematical symbols and formulae where needed. Great care has
been taken over the defaults for the minor design choices in graphics, but the user retains
full control.
• R is available as Free Software under the terms of the Free Software Foundation’s GNU
General Public License in source code form. It compiles and runs on a wide variety of
UNIX platforms and similar systems (including FreeBSD and Linux), Windows and
macOS.
The R environment
• R is an integrated suite of software facilities for data manipulation, calculation and
graphical display. It includes
1. an effective data handling and storage facility,
2. a suite of operators for calculations on arrays, in particular matrices,
• R programming is used as a leading tool for machine learning, statistics, and data
analysis. Objects, functions, and packages can easily be created by R.
• It’s a platform-independent language. This means it can be applied to all operating
system.
• It’s an open-source free language. That means anyone can install it in any
organization without purchasing a license.
• R programming language is not only a statistic package but also allows us to
integrate with other languages (C, C++). Thus, you can easily interact with many
data sources and statistical packages.
• The R programming language has a vast community of users and it’s growing day
by day.
• R is currently one of the most requested programming languages in the Data Science
job market that makes it the hottest trend nowadays.
• It is a simple and effective programming language which has been well developed.
• It is data analysis software.
• It is a well-designed, easy, and effective language which has the concepts of user-
defined, looping, conditional, and various I/O facilities.
• It has a consistent and incorporated set of tools which are used for data analysis.
Applications of R:
• Data Science
R provides its users with a statistical computing environment ideal for analysing statistical
information and offers a wide range of libraries used in statistics.
• Research
R is used to perform complex calculations. It is used as a statistical research tool to perform
techniques like linear and non-linear modelling, classical statistic tests, time series analysis,
etc.
• IT Industry
R is a business intelligence tool in IT and product-based companies. For example - Infosys,
Google, IBM, Microsoft, Paytm, etc.
• Finance
•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 in Comparison with Python Programming
Comparison R Python
Index
Overview "R is an interpreted computer Python is an Interpreted high-level
programming language which was programming language used for general-
created by Ross Ihaka and Robert purpose programming. Guido Van
Gentleman at the University of Rossum created it, and it was first
Auckland, New Zealand." The R released in 1991. Python has a very
Development Core Team currently simple and clean code syntax. It
develops R. R is also a software emphasizes the code readability and
environment which is used to analyze