SlideShare a Scribd company logo
1 of 31
Keerti Verma
AP,OCT
Introduction
R is a -
• A Programming Language
• A Statistical Package
• An Interpreter
• Open Source
• Object Oriented Language
Continue...
 R is a programming language and software
environment for statistical computing and
graphics supported by the R Foundation for
Statistical Computing.
 The R language is widely used
among statisticians and data miners for
developing statistical software and data analysis.
 Polls, surveys of data miners, and studies of
scholarly literature databases show that R's
popularity has increased substantially in recent
years
Continue...
Continue...
Evolution Of R Language
 R is an implementation of the S programming
language.
 S was created by John Chambers while at Bell Labs.
 R was created by Ross Ihaka and Robert
Gentleman at the University of Auckland, New
Zealand, and is currently developed by the R
Development Core Team, of which Chambers is a
member. R is named partly after the first names of
the first two R authors and partly as a play on the
name of S.
statistical Programming Language
S version1
S version2
S version 3
S version4
developed 30 years
ago for research applied to the
high-tech industry
R
Features of R Language
 As stated earlier, R is a programming language and
software environment for statistical analysis, graphics
representation and reporting. The following are the
important features of R: -
 R is a well-developed, simple and effective
programming language which includes conditionals,
loops, user defined recursive functions and input and
output facilities.
 R has an effective data handling and storage facility.
 R provides a suite of operators for calculations on
arrays, lists, vectors and matrices.
Continue...
 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.
 As a conclusion, R is world’s most widely used
statistics programming language. It's the # 1 choice
of data scientists and supported by a vibrant and
talented community of contributors. R is taught in
universities and deployed in mission critical
business applications.
Continue...
 The project was conceived in 1992, with an initial
version released in 1995 and a stable beta version
in 2000.
 Current stable version of R is 3.3.2 released on
October 31, 2016.
Data types in R
 Generally, while doing programming in any
programming language, you need to use various
variables to store various information. Variables
are nothing but reserved memory locations to
store values. This means that, when you create a
variable you reserve some space in memory.
 In contrast to other programming languages like C
and java in R, the variables are not declared as
some data type. The variables are assigned with R-
Objects and the data type of the R-object becomes
the data type of the variable.
Continue...
 There are many types of R-objects. The frequently
used ones are:
 Vectors
 Lists
 Matrices
 Arrays
 Data Frames
Continue...
 A vector is a sequence of data elements of the same
basic type.
 The simplest of these objects is the vector object and
there are six data types of these atomic vectors, also
termed as six classes of vectors. The other R-Objects
are built upon the atomic vectors.
Continue...Data type Example verify
Logical TRUE , FALSE v <- TRUE
print(class(v))
it produces the following
result:-
[1] "logical"
Numeric 12.3, 5, 999 v <- 23.5
print(class(v))
it produces the following
result:
[1] "numeric"
Integer 2L, 34L, 0L v <- 2L
print(class(v))
it produces the following
result:
[1] "complex"
Continue...
Data Type Example Verify
Complex 2+5i v <- 2+5i
print(class(v))
It print the following
result:
[1] "complex"
Character 'a' , '"good", "TRUE", '23.4' v <- "TRUE"
print(class(v))
It print the following
result
[1] "character"
Raw Hello" is stored as 48 65
6c 6c 6f
v <- charToRaw("Hello")
print(class(v))
It print the following
result:
[1] "raw"
Continue...
Interacting with R
 RStudio is a free and open-source integrated
development environment (IDE) for R,
a programming language for statistical
computing and graphics.
 RStudio was founded by JJ Allaire,creator of the
programming language ColdFusion.
Continue...
 RStudio is available in two editions: RStudio
Desktop, where the program is run locally as a
regular desktop application.
 RStudio Server, Prepackaged distributions of
RStudio Desktop are available for Windows, OS X,
and Linux.
 RStudio is written in the C++ programming
language and uses the Qt framework for
its graphical user interface.
Rstudio IDE
Comparison with other statistics
software
Continue...
 Sas:- SAS (Statistical Analysis System) is a software
suite developed by SAS Institute for advanced
analytics, multivariate analyses, business
intelligence, data management, and predictive
analytics.
 SAS was developed at North Carolina State
University from 1966 until 1976, when SAS Institute
was incorporated. SAS was further developed in the
1980s and 1990s with the addition of new statistical
procedures, additional components
Continue...
 SAS is an expensive tool whereas R is free.
 Algorithms used in SAS procedures are not open to
public so you cannot do research on that. Whereas
R is all transparent.
 R has advanced graphical capabilities. Supports
various professional graphics templates.
 New statistical and machine learning techniques
implemented in R much more quickly than SAS.
500 lines of SAS code can be equivalent to 100 lines
of R code
Continue...
 Time Series Forecasting - Need to purchase SAS
ETS Module. It is free in R
 Text Mining - Need to purchase SAS Enterprise /
Text Miner. It is free in R
 Machine Learning - Need to purchase SAS
Enterprise Miner. It is free in R
 Online Reporting - Need to purchase SAS Visual
Analytics. It is free in R with shiny package.
Advantages of R
 Free open source philosophy.
 R has over 4800 packages available from multiple
repositories specializing in topics like
econometrics, data mining, spatial analysis, and
bio-informatics.
 Online help and discussion.
 R visualization capabilities .
 Interface with other languages and scripting
capabilities
Continue...
 Real data have missing values. Missing values are
an integral part of the R language. Many functions
have arguments that control how missing values
are to be handled.
 Solution of big data .
Disadvantages of R
 R has a steep learning curve it does take a while to
get used to the power of R but no steeper than for
other statistical languages. ˆR is not so easy to use
for the novice.
 No default parallel execution.
 Top skills needed for high performance
computing.
Continue...
 Memory management, speed, and efficiency are
probably the biggest challenges R faces.
 Poor management of large dataset.
 Complicated structure of packages in R .
 Capabilities such as security were not built into the
R language, Also, R cannot be embedded in a Web
browser.
 A high-level programming language
So why learn R??
Some other points
 Hadoop and R are a natural match and are quite
complementary in terms of visualization and analytics
of big data.
 Rhipe is an R library which allows running a map
reduce job.
References
 https://en.wikipedia.org/wiki/R_(programming_langu
age)
 http://www.infoworld.com/article/2940864/applicatio
n-development/r-programming-language-statistical-
data-analysis.html
 http://www.infoworld.com/article/2880360/big-
data/learn-to-crunch-big-data-with-r.html
 http://www.tutorialpoint.pdf
 https://www.youtube.com/watch?v=VocbExLSukE&t=
7s
Thank you

More Related Content

What's hot

Introduction to R programming
Introduction to R programmingIntroduction to R programming
Introduction to R programmingVictor Ordu
 
SAS - Statistical Analysis System
SAS - Statistical Analysis SystemSAS - Statistical Analysis System
SAS - Statistical Analysis SystemDr-Jitendra Patel
 
Introduction to R Programming
Introduction to R ProgrammingIntroduction to R Programming
Introduction to R Programmingizahn
 
Application of Excel and SPSS software for statistical analysis- Biostatistic...
Application of Excel and SPSS software for statistical analysis- Biostatistic...Application of Excel and SPSS software for statistical analysis- Biostatistic...
Application of Excel and SPSS software for statistical analysis- Biostatistic...Himanshu Sharma
 
Presentation on spss
Presentation on spssPresentation on spss
Presentation on spssalfiyajamalcj
 
Minitab- A statistical tool
Minitab- A statistical tool Minitab- A statistical tool
Minitab- A statistical tool Dr-Jitendra Patel
 
R programming advantages and disadvantages
R programming advantages and disadvantagesR programming advantages and disadvantages
R programming advantages and disadvantagesPrwaTech
 
Introduction to sas
Introduction to sasIntroduction to sas
Introduction to sasAjay Ohri
 
Simple & Multiple Regression Analysis
Simple & Multiple Regression AnalysisSimple & Multiple Regression Analysis
Simple & Multiple Regression AnalysisShailendra Tomar
 
Pharmacovigilance Process Work Flow - Katalyst HLS
Pharmacovigilance Process Work Flow - Katalyst HLSPharmacovigilance Process Work Flow - Katalyst HLS
Pharmacovigilance Process Work Flow - Katalyst HLSKatalyst HLS
 
Statistical Package for Social Science (SPSS)
Statistical Package for Social Science (SPSS)Statistical Package for Social Science (SPSS)
Statistical Package for Social Science (SPSS)sspink
 
Introduction to data analysis using R
Introduction to data analysis using RIntroduction to data analysis using R
Introduction to data analysis using RVictoria López
 
WHO International Drug Monitoring Program
WHO International Drug Monitoring ProgramWHO International Drug Monitoring Program
WHO International Drug Monitoring ProgramSnehaKhandale1
 

What's hot (20)

Introduction to R programming
Introduction to R programmingIntroduction to R programming
Introduction to R programming
 
SAS - Statistical Analysis System
SAS - Statistical Analysis SystemSAS - Statistical Analysis System
SAS - Statistical Analysis System
 
Introduction to R Programming
Introduction to R ProgrammingIntroduction to R Programming
Introduction to R Programming
 
Application of Excel and SPSS software for statistical analysis- Biostatistic...
Application of Excel and SPSS software for statistical analysis- Biostatistic...Application of Excel and SPSS software for statistical analysis- Biostatistic...
Application of Excel and SPSS software for statistical analysis- Biostatistic...
 
Presentation on spss
Presentation on spssPresentation on spss
Presentation on spss
 
Minitab- A statistical tool
Minitab- A statistical tool Minitab- A statistical tool
Minitab- A statistical tool
 
SPSS
SPSSSPSS
SPSS
 
R programming advantages and disadvantages
R programming advantages and disadvantagesR programming advantages and disadvantages
R programming advantages and disadvantages
 
R programming Language
R programming LanguageR programming Language
R programming Language
 
Spss an introduction
Spss  an introductionSpss  an introduction
Spss an introduction
 
Sas demo
Sas demoSas demo
Sas demo
 
Introduction to sas
Introduction to sasIntroduction to sas
Introduction to sas
 
Simple & Multiple Regression Analysis
Simple & Multiple Regression AnalysisSimple & Multiple Regression Analysis
Simple & Multiple Regression Analysis
 
Pharmacovigilance Process Work Flow - Katalyst HLS
Pharmacovigilance Process Work Flow - Katalyst HLSPharmacovigilance Process Work Flow - Katalyst HLS
Pharmacovigilance Process Work Flow - Katalyst HLS
 
Step By Step Guide to Learn R
Step By Step Guide to Learn RStep By Step Guide to Learn R
Step By Step Guide to Learn R
 
Statistical Package for Social Science (SPSS)
Statistical Package for Social Science (SPSS)Statistical Package for Social Science (SPSS)
Statistical Package for Social Science (SPSS)
 
Introduction to data analysis using R
Introduction to data analysis using RIntroduction to data analysis using R
Introduction to data analysis using R
 
Pharmacovigilance
PharmacovigilancePharmacovigilance
Pharmacovigilance
 
WHO International Drug Monitoring Program
WHO International Drug Monitoring ProgramWHO International Drug Monitoring Program
WHO International Drug Monitoring Program
 
Non parametric test
Non parametric testNon parametric test
Non parametric test
 

Viewers also liked

R programming Basic & Advanced
R programming Basic & AdvancedR programming Basic & Advanced
R programming Basic & AdvancedSohom Ghosh
 
An Interactive Introduction To R (Programming Language For Statistics)
An Interactive Introduction To R (Programming Language For Statistics)An Interactive Introduction To R (Programming Language For Statistics)
An Interactive Introduction To R (Programming Language For Statistics)Dataspora
 
R programming groundup-basic-section-i
R programming groundup-basic-section-iR programming groundup-basic-section-i
R programming groundup-basic-section-iDr. Awase Khirni Syed
 
How to get started with R programming
How to get started with R programmingHow to get started with R programming
How to get started with R programmingRamon Salazar
 
R language tutorial
R language tutorialR language tutorial
R language tutorialDavid Chiu
 
Model Building with RevoScaleR: Using R and Hadoop for Statistical Computation
Model Building with RevoScaleR: Using R and Hadoop for Statistical ComputationModel Building with RevoScaleR: Using R and Hadoop for Statistical Computation
Model Building with RevoScaleR: Using R and Hadoop for Statistical ComputationRevolution Analytics
 
The Very ^ 2 Basics of R
The Very ^ 2 Basics of RThe Very ^ 2 Basics of R
The Very ^ 2 Basics of RWinston Chen
 
R programming Language , Rahul Singh
R programming Language , Rahul SinghR programming Language , Rahul Singh
R programming Language , Rahul SinghRavi Basil
 
Übersicht Glm Workshop 2009
Übersicht Glm Workshop 2009Übersicht Glm Workshop 2009
Übersicht Glm Workshop 2009Mark Heckmann
 
Neural networks1
Neural networks1Neural networks1
Neural networks1Mohan Raj
 
JSON REST API for WordPress
JSON REST API for WordPressJSON REST API for WordPress
JSON REST API for WordPressTaylor Lovett
 
Getting Up to Speed with R: Certificate Program in R for Statistical Analysis...
Getting Up to Speed with R: Certificate Program in R for Statistical Analysis...Getting Up to Speed with R: Certificate Program in R for Statistical Analysis...
Getting Up to Speed with R: Certificate Program in R for Statistical Analysis...Revolution Analytics
 
The Aviation Insurance Industry Presentation (1)
The Aviation Insurance Industry Presentation (1)The Aviation Insurance Industry Presentation (1)
The Aviation Insurance Industry Presentation (1)Oliver Culley
 
Biases in epidemiology
Biases in epidemiologyBiases in epidemiology
Biases in epidemiologySubraham Pany
 

Viewers also liked (20)

R programming Basic & Advanced
R programming Basic & AdvancedR programming Basic & Advanced
R programming Basic & Advanced
 
Programming in R
Programming in RProgramming in R
Programming in R
 
An Interactive Introduction To R (Programming Language For Statistics)
An Interactive Introduction To R (Programming Language For Statistics)An Interactive Introduction To R (Programming Language For Statistics)
An Interactive Introduction To R (Programming Language For Statistics)
 
Class ppt intro to r
Class ppt intro to rClass ppt intro to r
Class ppt intro to r
 
R programming groundup-basic-section-i
R programming groundup-basic-section-iR programming groundup-basic-section-i
R programming groundup-basic-section-i
 
How to get started with R programming
How to get started with R programmingHow to get started with R programming
How to get started with R programming
 
R language tutorial
R language tutorialR language tutorial
R language tutorial
 
Model Building with RevoScaleR: Using R and Hadoop for Statistical Computation
Model Building with RevoScaleR: Using R and Hadoop for Statistical ComputationModel Building with RevoScaleR: Using R and Hadoop for Statistical Computation
Model Building with RevoScaleR: Using R and Hadoop for Statistical Computation
 
The Very ^ 2 Basics of R
The Very ^ 2 Basics of RThe Very ^ 2 Basics of R
The Very ^ 2 Basics of R
 
R programming Language , Rahul Singh
R programming Language , Rahul SinghR programming Language , Rahul Singh
R programming Language , Rahul Singh
 
R Intro Workshop
R Intro Workshop R Intro Workshop
R Intro Workshop
 
Übersicht Glm Workshop 2009
Übersicht Glm Workshop 2009Übersicht Glm Workshop 2009
Übersicht Glm Workshop 2009
 
Neural networks1
Neural networks1Neural networks1
Neural networks1
 
JSON REST API for WordPress
JSON REST API for WordPressJSON REST API for WordPress
JSON REST API for WordPress
 
Simulation presentation
Simulation presentationSimulation presentation
Simulation presentation
 
Getting Up to Speed with R: Certificate Program in R for Statistical Analysis...
Getting Up to Speed with R: Certificate Program in R for Statistical Analysis...Getting Up to Speed with R: Certificate Program in R for Statistical Analysis...
Getting Up to Speed with R: Certificate Program in R for Statistical Analysis...
 
An Intoduction to R
An Intoduction to RAn Intoduction to R
An Intoduction to R
 
The Aviation Insurance Industry Presentation (1)
The Aviation Insurance Industry Presentation (1)The Aviation Insurance Industry Presentation (1)
The Aviation Insurance Industry Presentation (1)
 
Biases in epidemiology
Biases in epidemiologyBiases in epidemiology
Biases in epidemiology
 
Statistics with R
Statistics with RStatistics with R
Statistics with R
 

Similar to R programming language

Introduction to R Programming
Introduction to R ProgrammingIntroduction to R Programming
Introduction to R Programminghemasri56
 
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 rNetaji Gandi
 
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 simulationAlvaro Gil
 
R programming presentation
R programming presentationR programming presentation
R programming presentationAkshat Sharma
 
R vs SPSS: Which One is The Best Statistical Language
R vs SPSS: Which One is The Best Statistical LanguageR vs SPSS: Which One is The Best Statistical Language
R vs SPSS: Which One is The Best Statistical LanguageStat Analytica
 
1_Introduction.pptx
1_Introduction.pptx1_Introduction.pptx
1_Introduction.pptxranapoonam1
 
Data Science - Part II - Working with R & R studio
Data Science - Part II -  Working with R & R studioData Science - Part II -  Working with R & R studio
Data Science - Part II - Working with R & R studioDerek Kane
 
Programming Languages for Data Science
Programming Languages for Data ScienceProgramming Languages for Data Science
Programming Languages for Data ScienceSiddhartha Sharma
 
R Vs Python – The most trending debate of aspiring Data Scientists
R Vs Python – The most trending debate of aspiring Data ScientistsR Vs Python – The most trending debate of aspiring Data Scientists
R Vs Python – The most trending debate of aspiring Data Scientistsabhishekdf3
 
R basics for MBA Students[1].pptx
R basics for MBA Students[1].pptxR basics for MBA Students[1].pptx
R basics for MBA Students[1].pptxrajalakshmi5921
 

Similar to R programming language (20)

Introduction to R Programming
Introduction to R ProgrammingIntroduction to R Programming
Introduction to R Programming
 
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
 
UNIT-1 Start Learning R.pdf
UNIT-1 Start Learning R.pdfUNIT-1 Start Learning R.pdf
UNIT-1 Start Learning R.pdf
 
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
 
Reason To learn & use r
Reason To learn & use rReason To learn & use r
Reason To learn & use r
 
R_L1-Aug-2022.pptx
R_L1-Aug-2022.pptxR_L1-Aug-2022.pptx
R_L1-Aug-2022.pptx
 
R for data analytics
R for data analyticsR for data analytics
R for data analytics
 
R presentation
R presentationR presentation
R presentation
 
Introtor
IntrotorIntrotor
Introtor
 
R language
R languageR language
R language
 
R programming presentation
R programming presentationR programming presentation
R programming presentation
 
R vs SPSS: Which One is The Best Statistical Language
R vs SPSS: Which One is The Best Statistical LanguageR vs SPSS: Which One is The Best Statistical Language
R vs SPSS: Which One is The Best Statistical Language
 
1_Introduction.pptx
1_Introduction.pptx1_Introduction.pptx
1_Introduction.pptx
 
Data Science - Part II - Working with R & R studio
Data Science - Part II -  Working with R & R studioData Science - Part II -  Working with R & R studio
Data Science - Part II - Working with R & R studio
 
Programming Languages for Data Science
Programming Languages for Data ScienceProgramming Languages for Data Science
Programming Languages for Data Science
 
R programming
R programmingR programming
R programming
 
R Vs Python – The most trending debate of aspiring Data Scientists
R Vs Python – The most trending debate of aspiring Data ScientistsR Vs Python – The most trending debate of aspiring Data Scientists
R Vs Python – The most trending debate of aspiring Data Scientists
 
Data Mining with R programming
Data Mining with R programmingData Mining with R programming
Data Mining with R programming
 
R basics for MBA Students[1].pptx
R basics for MBA Students[1].pptxR basics for MBA Students[1].pptx
R basics for MBA Students[1].pptx
 
R Course Online
R Course OnlineR Course Online
R Course Online
 

Recently uploaded

Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...ICS
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AIABDERRAOUF MEHENNI
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...OnePlan Solutions
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️anilsa9823
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceanilsa9823
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 

Recently uploaded (20)

Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female serviceCALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
CALL ON ➥8923113531 🔝Call Girls Badshah Nagar Lucknow best Female service
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 

R programming language

  • 2. Introduction R is a - • A Programming Language • A Statistical Package • An Interpreter • Open Source • Object Oriented Language
  • 3. Continue...  R is a programming language and software environment for statistical computing and graphics supported by the R Foundation for Statistical Computing.  The R language is widely used among statisticians and data miners for developing statistical software and data analysis.  Polls, surveys of data miners, and studies of scholarly literature databases show that R's popularity has increased substantially in recent years
  • 6. Evolution Of R Language  R is an implementation of the S programming language.  S was created by John Chambers while at Bell Labs.  R was created by Ross Ihaka and Robert Gentleman at the University of Auckland, New Zealand, and is currently developed by the R Development Core Team, of which Chambers is a member. R is named partly after the first names of the first two R authors and partly as a play on the name of S.
  • 7. statistical Programming Language S version1 S version2 S version 3 S version4 developed 30 years ago for research applied to the high-tech industry R
  • 8. Features of R Language  As stated earlier, R is a programming language and software environment for statistical analysis, graphics representation and reporting. The following are the important features of R: -  R is a well-developed, simple and effective programming language which includes conditionals, loops, user defined recursive functions and input and output facilities.  R has an effective data handling and storage facility.  R provides a suite of operators for calculations on arrays, lists, vectors and matrices.
  • 9. Continue...  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.  As a conclusion, R is world’s most widely used statistics programming language. It's the # 1 choice of data scientists and supported by a vibrant and talented community of contributors. R is taught in universities and deployed in mission critical business applications.
  • 10. Continue...  The project was conceived in 1992, with an initial version released in 1995 and a stable beta version in 2000.  Current stable version of R is 3.3.2 released on October 31, 2016.
  • 11. Data types in R  Generally, while doing programming in any programming language, you need to use various variables to store various information. Variables are nothing but reserved memory locations to store values. This means that, when you create a variable you reserve some space in memory.  In contrast to other programming languages like C and java in R, the variables are not declared as some data type. The variables are assigned with R- Objects and the data type of the R-object becomes the data type of the variable.
  • 12. Continue...  There are many types of R-objects. The frequently used ones are:  Vectors  Lists  Matrices  Arrays  Data Frames
  • 13. Continue...  A vector is a sequence of data elements of the same basic type.  The simplest of these objects is the vector object and there are six data types of these atomic vectors, also termed as six classes of vectors. The other R-Objects are built upon the atomic vectors.
  • 14. Continue...Data type Example verify Logical TRUE , FALSE v <- TRUE print(class(v)) it produces the following result:- [1] "logical" Numeric 12.3, 5, 999 v <- 23.5 print(class(v)) it produces the following result: [1] "numeric" Integer 2L, 34L, 0L v <- 2L print(class(v)) it produces the following result: [1] "complex"
  • 15. Continue... Data Type Example Verify Complex 2+5i v <- 2+5i print(class(v)) It print the following result: [1] "complex" Character 'a' , '"good", "TRUE", '23.4' v <- "TRUE" print(class(v)) It print the following result [1] "character" Raw Hello" is stored as 48 65 6c 6c 6f v <- charToRaw("Hello") print(class(v)) It print the following result: [1] "raw"
  • 17. Interacting with R  RStudio is a free and open-source integrated development environment (IDE) for R, a programming language for statistical computing and graphics.  RStudio was founded by JJ Allaire,creator of the programming language ColdFusion.
  • 18. Continue...  RStudio is available in two editions: RStudio Desktop, where the program is run locally as a regular desktop application.  RStudio Server, Prepackaged distributions of RStudio Desktop are available for Windows, OS X, and Linux.  RStudio is written in the C++ programming language and uses the Qt framework for its graphical user interface.
  • 20. Comparison with other statistics software
  • 21. Continue...  Sas:- SAS (Statistical Analysis System) is a software suite developed by SAS Institute for advanced analytics, multivariate analyses, business intelligence, data management, and predictive analytics.  SAS was developed at North Carolina State University from 1966 until 1976, when SAS Institute was incorporated. SAS was further developed in the 1980s and 1990s with the addition of new statistical procedures, additional components
  • 22. Continue...  SAS is an expensive tool whereas R is free.  Algorithms used in SAS procedures are not open to public so you cannot do research on that. Whereas R is all transparent.  R has advanced graphical capabilities. Supports various professional graphics templates.  New statistical and machine learning techniques implemented in R much more quickly than SAS. 500 lines of SAS code can be equivalent to 100 lines of R code
  • 23. Continue...  Time Series Forecasting - Need to purchase SAS ETS Module. It is free in R  Text Mining - Need to purchase SAS Enterprise / Text Miner. It is free in R  Machine Learning - Need to purchase SAS Enterprise Miner. It is free in R  Online Reporting - Need to purchase SAS Visual Analytics. It is free in R with shiny package.
  • 24. Advantages of R  Free open source philosophy.  R has over 4800 packages available from multiple repositories specializing in topics like econometrics, data mining, spatial analysis, and bio-informatics.  Online help and discussion.  R visualization capabilities .  Interface with other languages and scripting capabilities
  • 25. Continue...  Real data have missing values. Missing values are an integral part of the R language. Many functions have arguments that control how missing values are to be handled.  Solution of big data .
  • 26. Disadvantages of R  R has a steep learning curve it does take a while to get used to the power of R but no steeper than for other statistical languages. ˆR is not so easy to use for the novice.  No default parallel execution.  Top skills needed for high performance computing.
  • 27. Continue...  Memory management, speed, and efficiency are probably the biggest challenges R faces.  Poor management of large dataset.  Complicated structure of packages in R .  Capabilities such as security were not built into the R language, Also, R cannot be embedded in a Web browser.  A high-level programming language
  • 29. Some other points  Hadoop and R are a natural match and are quite complementary in terms of visualization and analytics of big data.  Rhipe is an R library which allows running a map reduce job.
  • 30. References  https://en.wikipedia.org/wiki/R_(programming_langu age)  http://www.infoworld.com/article/2940864/applicatio n-development/r-programming-language-statistical- data-analysis.html  http://www.infoworld.com/article/2880360/big- data/learn-to-crunch-big-data-with-r.html  http://www.tutorialpoint.pdf  https://www.youtube.com/watch?v=VocbExLSukE&t= 7s