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

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
 
Karl pearson's correlation
Karl pearson's correlationKarl pearson's correlation
Karl pearson's correlationfairoos1
 
Wilcoxon Rank-Sum Test
Wilcoxon Rank-Sum TestWilcoxon Rank-Sum Test
Wilcoxon Rank-Sum TestLakshmi Anush
 
Data analysis with R
Data analysis with RData analysis with R
Data analysis with RShareThis
 
Introduction to sas
Introduction to sasIntroduction to sas
Introduction to sasAjay Ohri
 
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 relationshipRithish Kumar
 
Minitab- A statistical tool
Minitab- A statistical tool Minitab- A statistical tool
Minitab- A statistical tool Dr-Jitendra Patel
 
Simple & Multiple Regression Analysis
Simple & Multiple Regression AnalysisSimple & Multiple Regression Analysis
Simple & Multiple Regression AnalysisShailendra Tomar
 
Factorial design ,full factorial design, fractional factorial design
Factorial design ,full factorial design, fractional factorial designFactorial design ,full factorial design, fractional factorial design
Factorial design ,full factorial design, fractional factorial designSayed Shakil Ahmed
 
Parametric test _ t test and ANOVA _ Biostatistics and Research Methodology....
Parametric test _ t test and ANOVA _  Biostatistics and Research Methodology....Parametric test _ t test and ANOVA _  Biostatistics and Research Methodology....
Parametric test _ t test and ANOVA _ Biostatistics and Research Methodology....AZCPh
 
factorial design.pptx
factorial design.pptxfactorial design.pptx
factorial design.pptxSreeLatha98
 

What's hot (20)

Regression
RegressionRegression
Regression
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
 
Testing of hypothesis
Testing of hypothesisTesting of hypothesis
Testing of hypothesis
 
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...
 
Karl pearson's correlation
Karl pearson's correlationKarl pearson's correlation
Karl pearson's correlation
 
Optimization techniques
Optimization techniques Optimization techniques
Optimization techniques
 
Wilcoxon Rank-Sum Test
Wilcoxon Rank-Sum TestWilcoxon Rank-Sum Test
Wilcoxon Rank-Sum Test
 
Data analysis with R
Data analysis with RData analysis with R
Data analysis with R
 
Introduction to sas
Introduction to sasIntroduction to sas
Introduction to sas
 
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
 
Minitab- A statistical tool
Minitab- A statistical tool Minitab- A statistical tool
Minitab- A statistical tool
 
Simple & Multiple Regression Analysis
Simple & Multiple Regression AnalysisSimple & Multiple Regression Analysis
Simple & Multiple Regression Analysis
 
Factorial design ,full factorial design, fractional factorial design
Factorial design ,full factorial design, fractional factorial designFactorial design ,full factorial design, fractional factorial design
Factorial design ,full factorial design, fractional factorial design
 
Getting Started with R
Getting Started with RGetting Started with R
Getting Started with R
 
SPSS.pptx
SPSS.pptxSPSS.pptx
SPSS.pptx
 
Correlation
CorrelationCorrelation
Correlation
 
Statistical software
Statistical softwareStatistical software
Statistical software
 
Parametric test _ t test and ANOVA _ Biostatistics and Research Methodology....
Parametric test _ t test and ANOVA _  Biostatistics and Research Methodology....Parametric test _ t test and ANOVA _  Biostatistics and Research Methodology....
Parametric test _ t test and ANOVA _ Biostatistics and Research Methodology....
 
factorial design.pptx
factorial design.pptxfactorial design.pptx
factorial design.pptx
 
Class ppt intro to r
Class ppt intro to rClass ppt intro to r
Class ppt intro to r
 

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
 
Introduction to R programming
Introduction to R programmingIntroduction to R programming
Introduction to R programmingVictor Ordu
 
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)
 
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
 
Introduction to R programming
Introduction to R programmingIntroduction to R programming
Introduction to R programming
 
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 Overview

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 advantages and disadvantages
R programming advantages and disadvantagesR programming advantages and disadvantages
R programming advantages and disadvantagesPrwaTech
 
Introduction to R and R Studio
Introduction to R and R StudioIntroduction to R and R Studio
Introduction to R and R StudioRupak Roy
 
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
 

Similar to R Programming Language Overview (20)

Introduction to R Programming
Introduction to R ProgrammingIntroduction to R Programming
Introduction to R Programming
 
R programming
R programmingR programming
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 programming advantages and disadvantages
R programming advantages and disadvantagesR programming advantages and disadvantages
R programming advantages and disadvantages
 
Introduction to R and R Studio
Introduction to R and R StudioIntroduction to R and R Studio
Introduction to R and R Studio
 
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
 

Recently uploaded

Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Mater
 
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Natan Silnitsky
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Cizo Technology Services
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfMarharyta Nedzelska
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtimeandrehoraa
 
Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsSafe Software
 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfFerryKemperman
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作qr0udbr0
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Matt Ray
 
VK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web DevelopmentVK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web Developmentvyaparkranti
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Velvetech LLC
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 
Software Coding for software engineering
Software Coding for software engineeringSoftware Coding for software engineering
Software Coding for software engineeringssuserb3a23b
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...OnePlan Solutions
 

Recently uploaded (20)

Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)
 
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdf
 
2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva2.pdf Ejercicios de programación competitiva
2.pdf Ejercicios de programación competitiva
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtime
 
Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data Streams
 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdf
 
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
 
Advantages of Odoo ERP 17 for Your Business
Advantages of Odoo ERP 17 for Your BusinessAdvantages of Odoo ERP 17 for Your Business
Advantages of Odoo ERP 17 for Your Business
 
VK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web DevelopmentVK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web Development
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...
 
Odoo Development Company in India | Devintelle Consulting Service
Odoo Development Company in India | Devintelle Consulting ServiceOdoo Development Company in India | Devintelle Consulting Service
Odoo Development Company in India | Devintelle Consulting Service
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 
Software Coding for software engineering
Software Coding for software engineeringSoftware Coding for software engineering
Software Coding for software engineering
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
 

R Programming Language Overview

  • 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