SlideShare une entreprise Scribd logo
1  sur  17
Introduction to
R Programming Language
SachinSL
sachinsl06@gmail.com
History of R programming
• R is a programming language and free software
environment for statistical computing and
graphics.
• R was created by Ross Ihaka and Robert
Gentleman at the University of Auckland, New
Zealand, and further developed by the R
Development Core Team.
• R is named after the first names of the first two R
authors.
• The project was conceived in 1992, with an initial
version released in 1995 and a stable beta version
(v1.0) on 29 February 2000
Programming features
• R is an interpreted language; users typically
access it through a command-line interpreter
• R's data structures include vectors, matrices,
arrays, data frames and lists.
• R supports procedural programming with
functions and for some functions, object-oriented
programming with generic functions.
• Although used mainly by statisticians requiring an
environment for statistical computation and
software development, R can also operate as a
general calculation toolbox – with performance
benchmarks comparable to MATLAB.
Statistical features
• R and its libraries implement a wide variety of
statistical and graphical techniques, including linear
and nonlinear modeling, classical statistical tests, time-
series analysis, classification, clustering, and others.
• R is easily extensible through functions and extensions,
and the R community is noted for its active
contributions in terms of packages.
• Many of R's standard functions are written in R itself,
which makes it easy for users to follow the algorithmic
choices made.
• Another strength of R is static graphics, which can
produce publication-quality graphs, including
mathematical symbols. Dynamic and interactive
graphics are available through additional packages.
Packages
• The capabilities of R are extended through user-created
packages, which allow specialized statistical
techniques, graphical devices, import/export
capabilities, reporting tools.
• The R packaging system is also used by researchers to
create and organize research data, code and report
files in a systematic way for sharing and public
archiving.
• A core set of packages is included with the installation
of R, with more than 15,000 additional packages
available at the Comprehensive R Archive Network
(CRAN), Bioconductor, Omegahat, GitHub, and other
repositories.
C R A N
Comprehensive R Archive Network
• CRAN is a network of ftp and web servers
around the world that store identical, up-to-
date, versions of code and documentation
for R.
• Please use the CRAN mirror nearest to you to
minimize network load.
CRAN mirror?
ANACONDA
• Anaconda is the birthplace of Python data
science.
• Anaconda is a free and open-source distribution
of the Python and R programming languages for
scientific computing.
• This aims to simplify package management and
deployment.
• The distribution includes data-science packages
suitable for Windows, Linux, and macOS.
Why should adopt R?
• R can be integrated with other programming
languages like C, C++, Python, etc.
• R has more than 10,000 packages in its
repository.
• R has community support of developers world-
wide.
• Easy interface for data treatment &
visualization.
Companies using
‘R’eal time
• Google:
– calculate ROI on advertising campaigns
– Economic forecasting
– Big-data statistical modeling
• Facebook:
– User behavior analysis related to status update
and profile pictures.
– Exploratory data analysis, Big-data visualization.
Companies using ‘R’eal time
• Twitter:
– Use for semantic clustering & data visualization
– Anomaly & breakout detection for improving their customer
experience.
• John Deere:
– Use to forecasting crop yields.
– Optimizing the build order on production line.
• ANZ Bank:
– Use for Credit Risk analysis.
– Fit models for mortgage loss.
AMAZING
FACTS
R introduction
R introduction
R introduction
R introduction

Contenu connexe

Tendances

Integrating Ontario’s Provincially Tracked Species Data Using FME
Integrating Ontario’s Provincially Tracked Species Data Using FMEIntegrating Ontario’s Provincially Tracked Species Data Using FME
Integrating Ontario’s Provincially Tracked Species Data Using FME
Safe Software
 

Tendances (20)

Bridging ICESat and ICESat-2 Standard Data Products
Bridging ICESat and ICESat-2 Standard Data ProductsBridging ICESat and ICESat-2 Standard Data Products
Bridging ICESat and ICESat-2 Standard Data Products
 
HDF and netCDF Data Support in ArcGIS
HDF and netCDF Data Support in ArcGISHDF and netCDF Data Support in ArcGIS
HDF and netCDF Data Support in ArcGIS
 
NASA Terra Data Fusion
NASA Terra Data FusionNASA Terra Data Fusion
NASA Terra Data Fusion
 
Working with HDF and netCDF Data in ArcGIS: Tools and Case Studies
Working with HDF and netCDF Data in ArcGIS: Tools and Case StudiesWorking with HDF and netCDF Data in ArcGIS: Tools and Case Studies
Working with HDF and netCDF Data in ArcGIS: Tools and Case Studies
 
R & Python on Hadoop
R & Python on HadoopR & Python on Hadoop
R & Python on Hadoop
 
Data Interoperability
Data InteroperabilityData Interoperability
Data Interoperability
 
R presentation
R presentationR presentation
R presentation
 
HDFCloud Workshop: HDF5 in the Cloud
HDFCloud Workshop: HDF5 in the CloudHDFCloud Workshop: HDF5 in the Cloud
HDFCloud Workshop: HDF5 in the Cloud
 
Incremental Export of Relational Database Contents into RDF Graphs
Incremental Export of Relational Database Contents into RDF GraphsIncremental Export of Relational Database Contents into RDF Graphs
Incremental Export of Relational Database Contents into RDF Graphs
 
Summary of HDF-EOS5 Files, Data Model and File Format
Summary of HDF-EOS5 Files, Data Model and File FormatSummary of HDF-EOS5 Files, Data Model and File Format
Summary of HDF-EOS5 Files, Data Model and File Format
 
NetCDF and HDF5
NetCDF and HDF5NetCDF and HDF5
NetCDF and HDF5
 
Using HDF5 Archive Information Package to preserve HDF-EOS2 data
Using HDF5 Archive Information Package to preserve HDF-EOS2 dataUsing HDF5 Archive Information Package to preserve HDF-EOS2 data
Using HDF5 Archive Information Package to preserve HDF-EOS2 data
 
HDF-EOS 2/5 to netCDF Converter
HDF-EOS 2/5 to netCDF ConverterHDF-EOS 2/5 to netCDF Converter
HDF-EOS 2/5 to netCDF Converter
 
HDF5 High Level and Lite Libraries
HDF5 High Level and Lite LibrariesHDF5 High Level and Lite Libraries
HDF5 High Level and Lite Libraries
 
Multidimensional Scientific Data in ArcGIS
Multidimensional Scientific Data in ArcGISMultidimensional Scientific Data in ArcGIS
Multidimensional Scientific Data in ArcGIS
 
VRA 2014 VRA Core Unbound, Arnold
VRA 2014 VRA Core Unbound, ArnoldVRA 2014 VRA Core Unbound, Arnold
VRA 2014 VRA Core Unbound, Arnold
 
HDF Update
HDF UpdateHDF Update
HDF Update
 
Converting between HDF4 and HDF5
Converting between HDF4 and HDF5Converting between HDF4 and HDF5
Converting between HDF4 and HDF5
 
NUIG LOSD tools
NUIG LOSD toolsNUIG LOSD tools
NUIG LOSD tools
 
Integrating Ontario’s Provincially Tracked Species Data Using FME
Integrating Ontario’s Provincially Tracked Species Data Using FMEIntegrating Ontario’s Provincially Tracked Species Data Using FME
Integrating Ontario’s Provincially Tracked Species Data Using FME
 

Similaire à R introduction

Similaire à R introduction (20)

R meet up slides.pptx
R meet up slides.pptxR meet up slides.pptx
R meet up slides.pptx
 
PPT - Introduction to R.pdf
PPT - Introduction to R.pdfPPT - Introduction to R.pdf
PPT - Introduction to R.pdf
 
R Intro
R IntroR Intro
R Intro
 
R programming
R programmingR programming
R programming
 
Introduction to R
Introduction to RIntroduction to R
Introduction to R
 
R programming Language , Rahul Singh
R programming Language , Rahul SinghR programming Language , Rahul Singh
R programming Language , Rahul Singh
 
R programming
R programmingR programming
R programming
 
Introduction to R.pptx
Introduction to R.pptxIntroduction to R.pptx
Introduction to R.pptx
 
Analytics Beyond RAM Capacity using R
Analytics Beyond RAM Capacity using RAnalytics Beyond RAM Capacity using R
Analytics Beyond RAM Capacity using R
 
Unit1_Introduction to R.pdf
Unit1_Introduction to R.pdfUnit1_Introduction to R.pdf
Unit1_Introduction to R.pdf
 
Introduction to R software, by Leire ibaibarriaga
Introduction to R software, by Leire ibaibarriaga Introduction to R software, by Leire ibaibarriaga
Introduction to R software, by Leire ibaibarriaga
 
R language
R languageR language
R language
 
BUSINESS ANALYTICS WITH R SOFTWARE DIAST
BUSINESS ANALYTICS WITH R SOFTWARE DIASTBUSINESS ANALYTICS WITH R SOFTWARE DIAST
BUSINESS ANALYTICS WITH R SOFTWARE DIAST
 
Big data analytics with R tool.pptx
Big data analytics with R tool.pptxBig data analytics with R tool.pptx
Big data analytics with R tool.pptx
 
Data Analytics Domain
Data Analytics DomainData Analytics Domain
Data Analytics Domain
 
R programming language
R programming languageR programming language
R programming language
 
Introduction to R and R Studio
Introduction to R and R StudioIntroduction to R and R Studio
Introduction to R and R Studio
 
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
 
The History and Use of R
The History and Use of RThe History and Use of R
The History and Use of R
 
Class ppt intro to r
Class ppt intro to rClass ppt intro to r
Class ppt intro to r
 

Plus de Teachers Mitraa

Plus de Teachers Mitraa (15)

R installing
R installingR installing
R installing
 
R joins on dataframes
R joins on dataframesR joins on dataframes
R joins on dataframes
 
R-script
R-scriptR-script
R-script
 
R data types
R data typesR data types
R data types
 
E library in the 21st century
E library in the 21st centuryE library in the 21st century
E library in the 21st century
 
Impact of Crises on economy
Impact of Crises on economyImpact of Crises on economy
Impact of Crises on economy
 
Mobile & Web based teaching and learning
Mobile & Web based teaching and learningMobile & Web based teaching and learning
Mobile & Web based teaching and learning
 
M learning post covid impact
M learning post covid impactM learning post covid impact
M learning post covid impact
 
Data analysis and interpretation
Data analysis and interpretationData analysis and interpretation
Data analysis and interpretation
 
Reseach Paper and Literature Review
Reseach Paper and Literature ReviewReseach Paper and Literature Review
Reseach Paper and Literature Review
 
Sales management
Sales managementSales management
Sales management
 
Trans shipment problem
Trans shipment problemTrans shipment problem
Trans shipment problem
 
Types of research mba mr
Types of research mba mrTypes of research mba mr
Types of research mba mr
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Law of contract
Law of contract  Law of contract
Law of contract
 

Dernier

CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
AroojKhan71
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
shivangimorya083
 
Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...
shambhavirathore45
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
amitlee9823
 

Dernier (20)

Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Research
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptx
 
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysis
 
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptx
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interaction
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and Milvus
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptx
 
VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptx
 
Zuja dropshipping via API with DroFx.pptx
Zuja dropshipping via API with DroFx.pptxZuja dropshipping via API with DroFx.pptx
Zuja dropshipping via API with DroFx.pptx
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
 
Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptx
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptx
 
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdfAccredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
 

R introduction

  • 1. Introduction to R Programming Language SachinSL sachinsl06@gmail.com
  • 2.
  • 3. History of R programming • R is a programming language and free software environment for statistical computing and graphics. • R was created by Ross Ihaka and Robert Gentleman at the University of Auckland, New Zealand, and further developed by the R Development Core Team. • R is named after the first names of the first two R authors. • The project was conceived in 1992, with an initial version released in 1995 and a stable beta version (v1.0) on 29 February 2000
  • 4. Programming features • R is an interpreted language; users typically access it through a command-line interpreter • R's data structures include vectors, matrices, arrays, data frames and lists. • R supports procedural programming with functions and for some functions, object-oriented programming with generic functions. • Although used mainly by statisticians requiring an environment for statistical computation and software development, R can also operate as a general calculation toolbox – with performance benchmarks comparable to MATLAB.
  • 5. Statistical features • R and its libraries implement a wide variety of statistical and graphical techniques, including linear and nonlinear modeling, classical statistical tests, time- series analysis, classification, clustering, and others. • R is easily extensible through functions and extensions, and the R community is noted for its active contributions in terms of packages. • Many of R's standard functions are written in R itself, which makes it easy for users to follow the algorithmic choices made. • Another strength of R is static graphics, which can produce publication-quality graphs, including mathematical symbols. Dynamic and interactive graphics are available through additional packages.
  • 6. Packages • The capabilities of R are extended through user-created packages, which allow specialized statistical techniques, graphical devices, import/export capabilities, reporting tools. • The R packaging system is also used by researchers to create and organize research data, code and report files in a systematic way for sharing and public archiving. • A core set of packages is included with the installation of R, with more than 15,000 additional packages available at the Comprehensive R Archive Network (CRAN), Bioconductor, Omegahat, GitHub, and other repositories.
  • 7. C R A N Comprehensive R Archive Network • CRAN is a network of ftp and web servers around the world that store identical, up-to- date, versions of code and documentation for R. • Please use the CRAN mirror nearest to you to minimize network load. CRAN mirror?
  • 8.
  • 9. ANACONDA • Anaconda is the birthplace of Python data science. • Anaconda is a free and open-source distribution of the Python and R programming languages for scientific computing. • This aims to simplify package management and deployment. • The distribution includes data-science packages suitable for Windows, Linux, and macOS.
  • 10. Why should adopt R? • R can be integrated with other programming languages like C, C++, Python, etc. • R has more than 10,000 packages in its repository. • R has community support of developers world- wide. • Easy interface for data treatment & visualization.
  • 11. Companies using ‘R’eal time • Google: – calculate ROI on advertising campaigns – Economic forecasting – Big-data statistical modeling • Facebook: – User behavior analysis related to status update and profile pictures. – Exploratory data analysis, Big-data visualization.
  • 12. Companies using ‘R’eal time • Twitter: – Use for semantic clustering & data visualization – Anomaly & breakout detection for improving their customer experience. • John Deere: – Use to forecasting crop yields. – Optimizing the build order on production line. • ANZ Bank: – Use for Credit Risk analysis. – Fit models for mortgage loss.