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.
Ad

More Related Content

What's hot (20)

Introduction to statistical software R
Introduction to statistical software RIntroduction to statistical software R
Introduction to statistical software R
Paola Pozzolo - La tua statistica
 
Introduction to R
Introduction to RIntroduction to R
Introduction to R
Kazuki Yoshida
 
SAS - Statistical Analysis System
SAS - Statistical Analysis SystemSAS - Statistical Analysis System
SAS - Statistical Analysis System
Dr-Jitendra Patel
 
Applications of regression analysis - Measurement of validity of relationship
Applications of regression analysis - Measurement of validity of relationshipApplications of regression analysis - Measurement of validity of relationship
Applications of regression analysis - Measurement of validity of relationship
Rithish Kumar
 
R programming presentation
R programming presentationR programming presentation
R programming presentation
Akshat Sharma
 
Getting Started with R
Getting Started with RGetting Started with R
Getting Started with R
Sankhya_Analytics
 
Presentation On Regression
Presentation On RegressionPresentation On Regression
Presentation On Regression
alok tiwari
 
Introduction to R programming
Introduction to R programmingIntroduction to R programming
Introduction to R programming
Victor Ordu
 
Introduction to R
Introduction to RIntroduction to R
Introduction to R
Ajay Ohri
 
Data analysis with R
Data analysis with RData analysis with R
Data analysis with R
ShareThis
 
R programming
R programmingR programming
R programming
TIB Academy
 
Simple & Multiple Regression Analysis
Simple & Multiple Regression AnalysisSimple & Multiple Regression Analysis
Simple & Multiple Regression Analysis
Shailendra Tomar
 
R programming slides
R  programming slidesR  programming slides
R programming slides
Pankaj Saini
 
Class ppt intro to r
Class ppt intro to rClass ppt intro to r
Class ppt intro to r
JigsawAcademy2014
 
Introduction to sas
Introduction to sasIntroduction to sas
Introduction to sas
Ajay Ohri
 
Karl pearson's correlation
Karl pearson's correlationKarl pearson's correlation
Karl pearson's correlation
fairoos1
 
Introduction to data analysis using R
Introduction to data analysis using RIntroduction to data analysis using R
Introduction to data analysis using R
Victoria López
 
Logistic regression
Logistic regressionLogistic regression
Logistic regression
saba khan
 
Minitab- A statistical tool
Minitab- A statistical tool Minitab- A statistical tool
Minitab- A statistical tool
Dr-Jitendra Patel
 
Spss and software Application
Spss and software ApplicationSpss and software Application
Spss and software Application
Ashok Pandey
 
SAS - Statistical Analysis System
SAS - Statistical Analysis SystemSAS - Statistical Analysis System
SAS - Statistical Analysis System
Dr-Jitendra Patel
 
Applications of regression analysis - Measurement of validity of relationship
Applications of regression analysis - Measurement of validity of relationshipApplications of regression analysis - Measurement of validity of relationship
Applications of regression analysis - Measurement of validity of relationship
Rithish Kumar
 
R programming presentation
R programming presentationR programming presentation
R programming presentation
Akshat Sharma
 
Presentation On Regression
Presentation On RegressionPresentation On Regression
Presentation On Regression
alok tiwari
 
Introduction to R programming
Introduction to R programmingIntroduction to R programming
Introduction to R programming
Victor Ordu
 
Introduction to R
Introduction to RIntroduction to R
Introduction to R
Ajay Ohri
 
Data analysis with R
Data analysis with RData analysis with R
Data analysis with R
ShareThis
 
Simple & Multiple Regression Analysis
Simple & Multiple Regression AnalysisSimple & Multiple Regression Analysis
Simple & Multiple Regression Analysis
Shailendra Tomar
 
R programming slides
R  programming slidesR  programming slides
R programming slides
Pankaj Saini
 
Introduction to sas
Introduction to sasIntroduction to sas
Introduction to sas
Ajay Ohri
 
Karl pearson's correlation
Karl pearson's correlationKarl pearson's correlation
Karl pearson's correlation
fairoos1
 
Introduction to data analysis using R
Introduction to data analysis using RIntroduction to data analysis using R
Introduction to data analysis using R
Victoria López
 
Logistic regression
Logistic regressionLogistic regression
Logistic regression
saba khan
 
Minitab- A statistical tool
Minitab- A statistical tool Minitab- A statistical tool
Minitab- A statistical tool
Dr-Jitendra Patel
 
Spss and software Application
Spss and software ApplicationSpss and software Application
Spss and software Application
Ashok Pandey
 

Similar to R programming (20)

Introduction to R and R Studio
Introduction to R and R StudioIntroduction to R and R Studio
Introduction to R and R Studio
Rupak Roy
 
R_L1-Aug-2022.pptx
R_L1-Aug-2022.pptxR_L1-Aug-2022.pptx
R_L1-Aug-2022.pptx
ShantilalBhayal1
 
R as supporting tool for analytics and simulation
R as supporting tool for analytics and simulationR as supporting tool for analytics and simulation
R as supporting tool for analytics and simulation
Alvaro Gil
 
Introduction to R Programming
Introduction to R ProgrammingIntroduction to R Programming
Introduction to R Programming
hemasri56
 
R Programming and Lab - Unit I PPTX with examples
R Programming and Lab - Unit I PPTX with examplesR Programming and Lab - Unit I PPTX with examples
R Programming and Lab - Unit I PPTX with examples
SARAVANA KUMAR SS
 
R presentation
R presentationR presentation
R presentation
ShwetDadhaniya1
 
1 R Tutorial Introduction
1 R Tutorial Introduction1 R Tutorial Introduction
1 R Tutorial Introduction
Sakthi Dasans
 
R language
R languageR language
R language
Kìshør Krîßh
 
Introduction to R.pptxvvvsjtajtaitsiysyisiysiy
Introduction to R.pptxvvvsjtajtaitsiysyisiysiyIntroduction to R.pptxvvvsjtajtaitsiysyisiysiy
Introduction to R.pptxvvvsjtajtaitsiysyisiysiy
PrernaKhera3
 
R programming Language , Rahul Singh
R programming Language , Rahul SinghR programming Language , Rahul Singh
R programming Language , Rahul Singh
Ravi Basil
 
Introduction to R-software programming from scrach
Introduction to R-software programming from scrachIntroduction to R-software programming from scrach
Introduction to R-software programming from scrach
AnjaliPrajapati75
 
R programming advantages and disadvantages
R programming advantages and disadvantagesR programming advantages and disadvantages
R programming advantages and disadvantages
PrwaTech
 
2 it unit-1 start learning r
2 it   unit-1 start learning r2 it   unit-1 start learning r
2 it unit-1 start learning r
Netaji Gandi
 
UNIT-1 Start Learning R.pdf
UNIT-1 Start Learning R.pdfUNIT-1 Start Learning R.pdf
UNIT-1 Start Learning R.pdf
Sweta Kumari Barnwal
 
UNIT-4 Start Learning R and installation .pdf
UNIT-4 Start Learning R and installation .pdfUNIT-4 Start Learning R and installation .pdf
UNIT-4 Start Learning R and installation .pdf
geethar79
 
Garishma xcs
Garishma xcsGarishma xcs
Garishma xcs
garishma bhatia
 
DSM software tools
DSM software toolsDSM software tools
DSM software tools
FAO
 
BUSINESS ANALYTICS WITH R SOFTWARE DIAST
BUSINESS ANALYTICS WITH R SOFTWARE DIASTBUSINESS ANALYTICS WITH R SOFTWARE DIAST
BUSINESS ANALYTICS WITH R SOFTWARE DIAST
HaritikaChhatwal1
 
Introduction to R and Installation.pptx
Introduction  to R and Installation.pptxIntroduction  to R and Installation.pptx
Introduction to R and Installation.pptx
Dhanshyam Mahavadi
 
Reason To learn & use r
Reason To learn & use rReason To learn & use r
Reason To learn & use r
Septian Pratama Rusmana
 
Introduction to R and R Studio
Introduction to R and R StudioIntroduction to R and R Studio
Introduction to R and R Studio
Rupak Roy
 
R as supporting tool for analytics and simulation
R as supporting tool for analytics and simulationR as supporting tool for analytics and simulation
R as supporting tool for analytics and simulation
Alvaro Gil
 
Introduction to R Programming
Introduction to R ProgrammingIntroduction to R Programming
Introduction to R Programming
hemasri56
 
R Programming and Lab - Unit I PPTX with examples
R Programming and Lab - Unit I PPTX with examplesR Programming and Lab - Unit I PPTX with examples
R Programming and Lab - Unit I PPTX with examples
SARAVANA KUMAR SS
 
1 R Tutorial Introduction
1 R Tutorial Introduction1 R Tutorial Introduction
1 R Tutorial Introduction
Sakthi Dasans
 
Introduction to R.pptxvvvsjtajtaitsiysyisiysiy
Introduction to R.pptxvvvsjtajtaitsiysyisiysiyIntroduction to R.pptxvvvsjtajtaitsiysyisiysiy
Introduction to R.pptxvvvsjtajtaitsiysyisiysiy
PrernaKhera3
 
R programming Language , Rahul Singh
R programming Language , Rahul SinghR programming Language , Rahul Singh
R programming Language , Rahul Singh
Ravi Basil
 
Introduction to R-software programming from scrach
Introduction to R-software programming from scrachIntroduction to R-software programming from scrach
Introduction to R-software programming from scrach
AnjaliPrajapati75
 
R programming advantages and disadvantages
R programming advantages and disadvantagesR programming advantages and disadvantages
R programming advantages and disadvantages
PrwaTech
 
2 it unit-1 start learning r
2 it   unit-1 start learning r2 it   unit-1 start learning r
2 it unit-1 start learning r
Netaji Gandi
 
UNIT-4 Start Learning R and installation .pdf
UNIT-4 Start Learning R and installation .pdfUNIT-4 Start Learning R and installation .pdf
UNIT-4 Start Learning R and installation .pdf
geethar79
 
DSM software tools
DSM software toolsDSM software tools
DSM software tools
FAO
 
BUSINESS ANALYTICS WITH R SOFTWARE DIAST
BUSINESS ANALYTICS WITH R SOFTWARE DIASTBUSINESS ANALYTICS WITH R SOFTWARE DIAST
BUSINESS ANALYTICS WITH R SOFTWARE DIAST
HaritikaChhatwal1
 
Introduction to R and Installation.pptx
Introduction  to R and Installation.pptxIntroduction  to R and Installation.pptx
Introduction to R and Installation.pptx
Dhanshyam Mahavadi
 
Ad

Recently uploaded (20)

Introduction to FLUID MECHANICS & KINEMATICS
Introduction to FLUID MECHANICS &  KINEMATICSIntroduction to FLUID MECHANICS &  KINEMATICS
Introduction to FLUID MECHANICS & KINEMATICS
narayanaswamygdas
 
Avnet Silica's PCIM 2025 Highlights Flyer
Avnet Silica's PCIM 2025 Highlights FlyerAvnet Silica's PCIM 2025 Highlights Flyer
Avnet Silica's PCIM 2025 Highlights Flyer
WillDavies22
 
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G..."Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
Infopitaara
 
fluke dealers in bangalore..............
fluke dealers in bangalore..............fluke dealers in bangalore..............
fluke dealers in bangalore..............
Haresh Vaswani
 
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITYADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ijscai
 
Fort night presentation new0903 pdf.pdf.
Fort night presentation new0903 pdf.pdf.Fort night presentation new0903 pdf.pdf.
Fort night presentation new0903 pdf.pdf.
anuragmk56
 
Compiler Design_Lexical Analysis phase.pptx
Compiler Design_Lexical Analysis phase.pptxCompiler Design_Lexical Analysis phase.pptx
Compiler Design_Lexical Analysis phase.pptx
RushaliDeshmukh2
 
some basics electrical and electronics knowledge
some basics electrical and electronics knowledgesome basics electrical and electronics knowledge
some basics electrical and electronics knowledge
nguyentrungdo88
 
MAQUINARIA MINAS CEMA 6th Edition (1).pdf
MAQUINARIA MINAS CEMA 6th Edition (1).pdfMAQUINARIA MINAS CEMA 6th Edition (1).pdf
MAQUINARIA MINAS CEMA 6th Edition (1).pdf
ssuser562df4
 
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdfRICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
MohamedAbdelkader115
 
π0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalizationπ0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalization
NABLAS株式会社
 
railway wheels, descaling after reheating and before forging
railway wheels, descaling after reheating and before forgingrailway wheels, descaling after reheating and before forging
railway wheels, descaling after reheating and before forging
Javad Kadkhodapour
 
"Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E...
"Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E..."Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E...
"Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E...
Infopitaara
 
Value Stream Mapping Worskshops for Intelligent Continuous Security
Value Stream Mapping Worskshops for Intelligent Continuous SecurityValue Stream Mapping Worskshops for Intelligent Continuous Security
Value Stream Mapping Worskshops for Intelligent Continuous Security
Marc Hornbeek
 
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptxLidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
RishavKumar530754
 
Reagent dosing (Bredel) presentation.pptx
Reagent dosing (Bredel) presentation.pptxReagent dosing (Bredel) presentation.pptx
Reagent dosing (Bredel) presentation.pptx
AlejandroOdio
 
Smart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineeringSmart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineering
rushikeshnavghare94
 
Oil-gas_Unconventional oil and gass_reseviours.pdf
Oil-gas_Unconventional oil and gass_reseviours.pdfOil-gas_Unconventional oil and gass_reseviours.pdf
Oil-gas_Unconventional oil and gass_reseviours.pdf
M7md3li2
 
Introduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptxIntroduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptx
AS1920
 
Machine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptxMachine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptx
rajeswari89780
 
Introduction to FLUID MECHANICS & KINEMATICS
Introduction to FLUID MECHANICS &  KINEMATICSIntroduction to FLUID MECHANICS &  KINEMATICS
Introduction to FLUID MECHANICS & KINEMATICS
narayanaswamygdas
 
Avnet Silica's PCIM 2025 Highlights Flyer
Avnet Silica's PCIM 2025 Highlights FlyerAvnet Silica's PCIM 2025 Highlights Flyer
Avnet Silica's PCIM 2025 Highlights Flyer
WillDavies22
 
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G..."Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
Infopitaara
 
fluke dealers in bangalore..............
fluke dealers in bangalore..............fluke dealers in bangalore..............
fluke dealers in bangalore..............
Haresh Vaswani
 
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITYADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ADVXAI IN MALWARE ANALYSIS FRAMEWORK: BALANCING EXPLAINABILITY WITH SECURITY
ijscai
 
Fort night presentation new0903 pdf.pdf.
Fort night presentation new0903 pdf.pdf.Fort night presentation new0903 pdf.pdf.
Fort night presentation new0903 pdf.pdf.
anuragmk56
 
Compiler Design_Lexical Analysis phase.pptx
Compiler Design_Lexical Analysis phase.pptxCompiler Design_Lexical Analysis phase.pptx
Compiler Design_Lexical Analysis phase.pptx
RushaliDeshmukh2
 
some basics electrical and electronics knowledge
some basics electrical and electronics knowledgesome basics electrical and electronics knowledge
some basics electrical and electronics knowledge
nguyentrungdo88
 
MAQUINARIA MINAS CEMA 6th Edition (1).pdf
MAQUINARIA MINAS CEMA 6th Edition (1).pdfMAQUINARIA MINAS CEMA 6th Edition (1).pdf
MAQUINARIA MINAS CEMA 6th Edition (1).pdf
ssuser562df4
 
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdfRICS Membership-(The Royal Institution of Chartered Surveyors).pdf
RICS Membership-(The Royal Institution of Chartered Surveyors).pdf
MohamedAbdelkader115
 
π0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalizationπ0.5: a Vision-Language-Action Model with Open-World Generalization
π0.5: a Vision-Language-Action Model with Open-World Generalization
NABLAS株式会社
 
railway wheels, descaling after reheating and before forging
railway wheels, descaling after reheating and before forgingrailway wheels, descaling after reheating and before forging
railway wheels, descaling after reheating and before forging
Javad Kadkhodapour
 
"Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E...
"Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E..."Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E...
"Boiler Feed Pump (BFP): Working, Applications, Advantages, and Limitations E...
Infopitaara
 
Value Stream Mapping Worskshops for Intelligent Continuous Security
Value Stream Mapping Worskshops for Intelligent Continuous SecurityValue Stream Mapping Worskshops for Intelligent Continuous Security
Value Stream Mapping Worskshops for Intelligent Continuous Security
Marc Hornbeek
 
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptxLidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
Lidar for Autonomous Driving, LiDAR Mapping for Driverless Cars.pptx
RishavKumar530754
 
Reagent dosing (Bredel) presentation.pptx
Reagent dosing (Bredel) presentation.pptxReagent dosing (Bredel) presentation.pptx
Reagent dosing (Bredel) presentation.pptx
AlejandroOdio
 
Smart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineeringSmart Storage Solutions.pptx for production engineering
Smart Storage Solutions.pptx for production engineering
rushikeshnavghare94
 
Oil-gas_Unconventional oil and gass_reseviours.pdf
Oil-gas_Unconventional oil and gass_reseviours.pdfOil-gas_Unconventional oil and gass_reseviours.pdf
Oil-gas_Unconventional oil and gass_reseviours.pdf
M7md3li2
 
Introduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptxIntroduction to Zoomlion Earthmoving.pptx
Introduction to Zoomlion Earthmoving.pptx
AS1920
 
Machine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptxMachine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptx
rajeswari89780
 
Ad

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.