SlideShare a Scribd company logo
R Programming
Pooja Sharma
ME CSE Regular
162413
NITTTR Chandigarh
Contents
 History of R
 Introduction to R Programming
 Why learn R
 Installation steps
 R Programming IDE
 R Packages
 What R does
 What R does not
 Features
 Basic Concepts of R
 Advantages & Disadvantages
 Applications
 Future of R Programming
History of R
 Origin in the Bell Labs in the 1970’s.
 R has developed from the S language.
 1990’s : R developed concurrently with S.
 1993: R made public
 Stable released on October 31st,2014 by R
Development Core Team under GNU GPL.
INTRODUCTION TO R
PROGRAMMING
 R is a programming language and software
environment for statistical analysis, graphics
representation and reporting.
 R was created by Ross Ihaka and Robert
Gentleman at the University of Auckland, New
Zealand.
 R is freely available under the GNU General
Public License, and pre-compiled binary
versions are provided for various operating
systems like Linux, Windows and Mac.
Contd..
 R is free software distributed under a GNU-style
copy left, and an official part of the GNU project
called GNU S.
 The core of R is an interpreted computer
language which allows branching and looping as
well as modular programming using functions. R
allows integration with the procedures written in
the C, C++, .Net, Python or FORTRAN languages
for efficiency.
Why Learn R?
INSTALLATION
STEPS OF
“R”
Getting Started with R
 To install R GUI go to http://www.r-
project.org/
 To install R Studio go to
http://www.rstudio.com/
Select CRAN Mirrors
(Click on India CRAN Mirror)
Select OS Version which you want
to download and install
After downloading run the
setup
Select Destination Location
Select Startup Options
Select Start Menu Folder
Select Additional Tasks
Installation is in Processing
R PROGRAMMING IDE
 There are two Integrated Development
Environments for R Programming:-
i) R GUI (Graphical User Interface)
ii) R Studio
R GUI
R Studio
R Packages
 A package is a collection of functions with
comprehensive documents.
 A package includes: R functions, Data Example,
Help Files, Namespace and Description.
 The default installation is kept as minimum.
 The function of R could be extent by loading R
packages.
Installing Packages
(First select the HTTPS CRAN Mirror)
Installing Packages
(Then select package which you
want to install)
What R does
o data handling and storage: numeric, textual
o matrix algebra
o hash tables
o high-level data analytic and statistical functions
o classes (“Object Oriented”)
o graphics
o programming language: loops, branching, subroutines
What R does not
o is not a database, but connects to DBMSs
o has no graphical user interfaces, but connects to
Java
o language interpreter can be very slow, but allows
to call own C/C++ code
o no spreadsheet view of data, but connects to
Excel/MsOffice
o no professional /commercial support
Features of R Programming
 R is a well-developed, simple and effective
programming language .
 R has an effective data handling and storage
facility.
 R provides a suite of operators for calculations on
arrays, lists, vectors and matrices.
 R provides a large, coherent and integrated collection
of tools for data analysis.
 R provides graphical facilities for data analysis and
display either directly at the computer or printing at
the papers.
R Usage
Advantages of R
 R is free and open source software.
 R has no license restrictions.
 R has over 4800 packages available from multiple
repositories specializing in topics like econometrics,
data mining, spatial analysis, and bio-informatics.
 R is cross-platform.
 R plays well with many other tools, importing data, for
example, from CSV les, SAS, and SPSS, or directly
from Microsoft Excel, Microsoft Access, Oracle,
MySQL, and SQLite.
 It can also produce graphics output in PDF, JPG,
PNG, and SVG formats, and table output for LATEX
and HTML.
Disadvantages of R
i) Average memory performance:
 Poor management of large data sets
 Complicated structure of packages in R
ii) Average computing performance
 No default parallel execution
iii) Difficult data visualization and management
 Difficult to inspect data sets
iv) Relatively difficult to learn
 Very complex data structures
How R Programming Is Applied To
Real World
R Programming has turned into the most prevalent language
for data science and a fundamental tool for Finance and
analytics-driven organizations, for example, Google,
Facebook, and LinkedIn.
Future of R Programming
 R Programming is good and powerful because R
is one of the most demanded scripting language
developed by and for statisticians.
 With its unparalleled advantages, we predict the
present and future of Business Analysts with R.

More Related Content

PPTX
R Programming Language
PPTX
R programming language
PDF
Introduction to Rstudio
PPTX
R programming
PPTX
Introduction to pandas
PPTX
Microsoft Paint Powerpoint
PDF
Writing a research proposal
R Programming Language
R programming language
Introduction to Rstudio
R programming
Introduction to pandas
Microsoft Paint Powerpoint
Writing a research proposal

What's hot (20)

PPTX
Introduction to statistical software R
PPTX
Introduction to R
PDF
Introduction to R
PPTX
Unit 1 - R Programming (Part 2).pptx
PDF
Introduction to R Programming
PDF
Class ppt intro to r
PPTX
Getting Started with R
PDF
Introduction to R and R Studio
PDF
R Programming: Introduction To R Packages
PPTX
Data analysis with R
PPTX
Linear regression
PPTX
Programming in R
PPT
R studio
PDF
KIT-601 Lecture Notes-UNIT-2.pdf
ODP
Multiple linear regression
PDF
Descriptive Statistics with R
PPTX
R programming
PDF
Machine Learning in R
PPT
Logistic regression
PDF
Reading Data into R
Introduction to statistical software R
Introduction to R
Introduction to R
Unit 1 - R Programming (Part 2).pptx
Introduction to R Programming
Class ppt intro to r
Getting Started with R
Introduction to R and R Studio
R Programming: Introduction To R Packages
Data analysis with R
Linear regression
Programming in R
R studio
KIT-601 Lecture Notes-UNIT-2.pdf
Multiple linear regression
Descriptive Statistics with R
R programming
Machine Learning in R
Logistic regression
Reading Data into R
Ad

Similar to R programming (20)

PPTX
R_L1-Aug-2022.pptx
PPTX
R as supporting tool for analytics and simulation
PPTX
Introduction to R Programming
PPTX
R Programming and Lab - Unit I PPTX with examples
PPTX
R presentation
PDF
1 R Tutorial Introduction
PPTX
R language
PPTX
Introduction to R.pptxvvvsjtajtaitsiysyisiysiy
PPTX
R programming Language , Rahul Singh
PPTX
Introduction to R-software programming from scrach
PDF
R programming advantages and disadvantages
PDF
UNIT-4 Start Learning R and installation .pdf
PDF
2 it unit-1 start learning r
PDF
UNIT-1 Start Learning R.pdf
PPTX
Garishma xcs
PDF
DSM software tools
 
PPTX
BUSINESS ANALYTICS WITH R SOFTWARE DIAST
PDF
“Getting Started with Data Analytics Using R – Concepts, Tools & Case Studies”
PPTX
Introduction to R and Installation.pptx
PPTX
Reason To learn & use r
R_L1-Aug-2022.pptx
R as supporting tool for analytics and simulation
Introduction to R Programming
R Programming and Lab - Unit I PPTX with examples
R presentation
1 R Tutorial Introduction
R language
Introduction to R.pptxvvvsjtajtaitsiysyisiysiy
R programming Language , Rahul Singh
Introduction to R-software programming from scrach
R programming advantages and disadvantages
UNIT-4 Start Learning R and installation .pdf
2 it unit-1 start learning r
UNIT-1 Start Learning R.pdf
Garishma xcs
DSM software tools
 
BUSINESS ANALYTICS WITH R SOFTWARE DIAST
“Getting Started with Data Analytics Using R – Concepts, Tools & Case Studies”
Introduction to R and Installation.pptx
Reason To learn & use r
Ad

Recently uploaded (20)

PPTX
Foundation to blockchain - A guide to Blockchain Tech
DOCX
573137875-Attendance-Management-System-original
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PPT
Project quality management in manufacturing
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPTX
OOP with Java - Java Introduction (Basics)
PDF
PPT on Performance Review to get promotions
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
Sustainable Sites - Green Building Construction
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PDF
Well-logging-methods_new................
Foundation to blockchain - A guide to Blockchain Tech
573137875-Attendance-Management-System-original
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
Project quality management in manufacturing
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
R24 SURVEYING LAB MANUAL for civil enggi
OOP with Java - Java Introduction (Basics)
PPT on Performance Review to get promotions
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Sustainable Sites - Green Building Construction
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Operating System & Kernel Study Guide-1 - converted.pdf
Automation-in-Manufacturing-Chapter-Introduction.pdf
CYBER-CRIMES AND SECURITY A guide to understanding
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
Well-logging-methods_new................

R programming

  • 1. R Programming Pooja Sharma ME CSE Regular 162413 NITTTR Chandigarh
  • 2. Contents  History of R  Introduction to R Programming  Why learn R  Installation steps  R Programming IDE  R Packages  What R does  What R does not  Features  Basic Concepts of R  Advantages & Disadvantages  Applications  Future of R Programming
  • 3. History of R  Origin in the Bell Labs in the 1970’s.  R has developed from the S language.  1990’s : R developed concurrently with S.  1993: R made public  Stable released on October 31st,2014 by R Development Core Team under GNU GPL.
  • 4. INTRODUCTION TO R PROGRAMMING  R is a programming language and software environment for statistical analysis, graphics representation and reporting.  R was created by Ross Ihaka and Robert Gentleman at the University of Auckland, New Zealand.  R is freely available under the GNU General Public License, and pre-compiled binary versions are provided for various operating systems like Linux, Windows and Mac.
  • 5. Contd..  R is free software distributed under a GNU-style copy left, and an official part of the GNU project called GNU S.  The core of R is an interpreted computer language which allows branching and looping as well as modular programming using functions. R allows integration with the procedures written in the C, C++, .Net, Python or FORTRAN languages for efficiency.
  • 8. Getting Started with R  To install R GUI go to http://www.r- project.org/  To install R Studio go to http://www.rstudio.com/
  • 9. Select CRAN Mirrors (Click on India CRAN Mirror)
  • 10. Select OS Version which you want to download and install
  • 16. Installation is in Processing
  • 17. R PROGRAMMING IDE  There are two Integrated Development Environments for R Programming:- i) R GUI (Graphical User Interface) ii) R Studio
  • 18. R GUI
  • 20. R Packages  A package is a collection of functions with comprehensive documents.  A package includes: R functions, Data Example, Help Files, Namespace and Description.  The default installation is kept as minimum.  The function of R could be extent by loading R packages.
  • 21. Installing Packages (First select the HTTPS CRAN Mirror)
  • 22. Installing Packages (Then select package which you want to install)
  • 23. What R does o data handling and storage: numeric, textual o matrix algebra o hash tables o high-level data analytic and statistical functions o classes (“Object Oriented”) o graphics o programming language: loops, branching, subroutines
  • 24. What R does not o is not a database, but connects to DBMSs o has no graphical user interfaces, but connects to Java o language interpreter can be very slow, but allows to call own C/C++ code o no spreadsheet view of data, but connects to Excel/MsOffice o no professional /commercial support
  • 25. Features of R Programming  R is a well-developed, simple and effective programming language .  R has an effective data handling and storage facility.  R provides a suite of operators for calculations on arrays, lists, vectors and matrices.  R provides a large, coherent and integrated collection of tools for data analysis.  R provides graphical facilities for data analysis and display either directly at the computer or printing at the papers.
  • 27. Advantages of R  R is free and open source software.  R has no license restrictions.  R has over 4800 packages available from multiple repositories specializing in topics like econometrics, data mining, spatial analysis, and bio-informatics.  R is cross-platform.  R plays well with many other tools, importing data, for example, from CSV les, SAS, and SPSS, or directly from Microsoft Excel, Microsoft Access, Oracle, MySQL, and SQLite.  It can also produce graphics output in PDF, JPG, PNG, and SVG formats, and table output for LATEX and HTML.
  • 28. Disadvantages of R i) Average memory performance:  Poor management of large data sets  Complicated structure of packages in R ii) Average computing performance  No default parallel execution iii) Difficult data visualization and management  Difficult to inspect data sets iv) Relatively difficult to learn  Very complex data structures
  • 29. How R Programming Is Applied To Real World R Programming has turned into the most prevalent language for data science and a fundamental tool for Finance and analytics-driven organizations, for example, Google, Facebook, and LinkedIn.
  • 30. Future of R Programming  R Programming is good and powerful because R is one of the most demanded scripting language developed by and for statisticians.  With its unparalleled advantages, we predict the present and future of Business Analysts with R.