SlideShare una empresa de Scribd logo
1 de 14
Descargar para leer sin conexión
Introduction
to
Rupak Roy
 R is a language and a platform for statistical computing and
graphics. It is a GNU project and was developed at Bell
Laboratories(formerly AT & T, now Lucent Technologies) by
John Chambers and his colleagues.
 R provides a wide variety of statistical and graphical techniques
with highly scalable features.
 R is available as a Free Software under the terms of Free
Software Foundation’s GNU General Public License in source
code form .
What is R-language?
Rupak Roy
 It is includes an effective data handling and storage facility.
 It is the most comprehensive statistical analysis package available as it
incorporates all of the standard statistical tests, models and analysis as well
as providing a comprehensive language for managing and manipulating the
data.
 Everyone is welcome to provide code enhancements, debug the bug issues
and also add new packages. So the wealth of quality packages available for
R is testament to this approach to software development and sharing.
 R has over 4800 packages available from multiple repositories specializing in
topics like econometrics, data mining, spatial analysis and bio-informatics.
 R can handle as many types of data from csv, sas, spss , excel, mysql, sql
server, oracle and even can be integrated with hadoop for big data analysis .
Introduction to R-language
Rupak Roy
 R is been listed in the top open source analytical tools 2016
list after SAS which is a license version. Therefore in 2019 R
took the lead in analytical tools with its robustness and
versatile in nature.
Introduction to R-language
Rupak Roy
 R Studio is again a free and open source integrated
development environment(IDE) for R programming language
for statistical computing and graphics. R studio was founded
by JJ Allaire.
 R studio is available in 2 editions. R-Studio Desktop, where the
program is run locally as a regular desktop application and
R-Studio Server which allows accessing R Studio remotely
using a web browser.
Introduction to R-Studio
Rupak Roy
Difference between R and R Studio.
R and R Studio are two different versions of the same thing.
R is a programming language for statistical calculation and R
Studio is a IDE integrated Development Environment that has
more GUI interface to make analytics easy .
We can use R without R Studio but we cant use R Studio
without R .
Or we can say R Studio is a front end IDE to R.
Introduction to R Studio
Rupak Roy
 The CRAN (Comprehensive R Archive Network) is a
network of ftp and web servers around the world
that stores identical, up-to-date versions of code and
documentations for R.
What is CRAN?
Rupak Roy
What is Big Data ?
 Extremely large data sets are analyzed computationally to reveal patterns, trends and
associations especially relating to human behavior or machines.
 They can be from terabyte
to petabyte consisting of
millions to trillions of
rows and columns.
 However R is not made
for big data analytics but
it has its advantage to
integrate with big data
technologies named as hadoop.
One of the big advantage over hadoop is that hadoop is specially designed for
programmers and data scientist, analyst or anyone not from programing background don’t
have to spend more time in programming rather than analyzing their data.
So what R does in this, will send instructions to the hadoop and hadoop will
process all the instructions and return back the results to R.
 R also have the advantage to extract multiple samples from hadoop, which is required for
statistical modeling computing.
 R can handle data as much as the memory available from the system i.e. RAM.
 Source editor: contains a text editor where multiple lines of code can be entered.
 Users can also save it as script file to disk.
 Console editor: where all the interactive work of R is performed like objects
created, analysis, filter etc.
R Studio Environment
 Packages: this is the place where a user can view all the list of
install packages. Packages are a self contained set of codes to
perform specific task similar to add-ins in excel.
 Help: this is where we can browse the built-in help system for any R
related topics.
 Files: the place where user can browse their files of the computer.
 Plots: this is the place where R displays its visual analysis like
histogram, bar diagram, boxplots etc.
 Workspace/history: The workspace is our current R working
environment and includes any user-defined objects (vectors,
matrices, data frames, lists, functions). At the end of an R session,
the user can save an image of the current workspace that is
automatically reloaded the next time when R is started.
R Studio Environment
Rupak Roy
 To install R first, kindly follow the following steps:
 Visit https://cran.r-project.org/
 Then according to your operating system, select one, in this
case we choose ‘Download R for Windows’.
 In the next page, click ‘install R for the first time’ from base
category.
 Now Download R 3.3.3 for Windows.
 Run the R setup file and choose the appropriate options
according to the needs (we will keep the default setting for
this course) and finish the installation.
 Select the RGUI and it should something look like this.
Installing R and R Studio
Rupak Roy
Installing R and R Studio
Rupak Roy
 Now let’s install the R Studio
 Go to https://www.rstudio.com/products/rstudio/
 Download R Studio desktop,
select the installation file for
your systems and
run the installation file.
 Later we can even change the
settings by choosing
Tools -> options
Installing R and R Studio
Next: Data types and their structure in R.
Installing R and R Studio
Rupak Roy

Más contenido relacionado

La actualidad más candente

Logistic regression
Logistic regressionLogistic regression
Logistic regression
saba khan
 

La actualidad más candente (20)

Introduction to R
Introduction to RIntroduction to R
Introduction to R
 
R programming Fundamentals
R programming  FundamentalsR programming  Fundamentals
R programming Fundamentals
 
R programming presentation
R programming presentationR programming presentation
R programming presentation
 
Introduction to R Programming
Introduction to R ProgrammingIntroduction to R Programming
Introduction to R Programming
 
Data analysis with R
Data analysis with RData analysis with R
Data analysis with R
 
Introduction to R
Introduction to RIntroduction to R
Introduction to R
 
R programming Language
R programming LanguageR programming Language
R programming Language
 
Data Types and Structures in R
Data Types and Structures in RData Types and Structures in R
Data Types and Structures in R
 
Unit 1 - R Programming (Part 2).pptx
Unit 1 - R Programming (Part 2).pptxUnit 1 - R Programming (Part 2).pptx
Unit 1 - R Programming (Part 2).pptx
 
Introduction to R programming
Introduction to R programmingIntroduction to R programming
Introduction to R programming
 
SAS BASICS
SAS BASICSSAS BASICS
SAS BASICS
 
R programming slides
R  programming slidesR  programming slides
R programming slides
 
2 R Tutorial Programming
2 R Tutorial Programming2 R Tutorial Programming
2 R Tutorial Programming
 
Logistic regression
Logistic regressionLogistic regression
Logistic regression
 
Introduction to SAS
Introduction to SASIntroduction to SAS
Introduction to SAS
 
Introduction to Data Analysis With R and R Studio
Introduction to Data Analysis With R and R StudioIntroduction to Data Analysis With R and R Studio
Introduction to Data Analysis With R and R Studio
 
Exploratory data analysis using r
Exploratory data analysis using rExploratory data analysis using r
Exploratory data analysis using r
 
Exploratory data analysis in R - Data Science Club
Exploratory data analysis in R - Data Science ClubExploratory data analysis in R - Data Science Club
Exploratory data analysis in R - Data Science Club
 
R programming
R programmingR programming
R programming
 
R Programming: Variables & Data Types
R Programming: Variables & Data TypesR Programming: Variables & Data Types
R Programming: Variables & Data Types
 

Similar a Introduction to R and R Studio

SessionOne_KnowingRandRStudio
SessionOne_KnowingRandRStudioSessionOne_KnowingRandRStudio
SessionOne_KnowingRandRStudio
Hellen Gakuruh
 

Similar a Introduction to R and R Studio (20)

R programming
R programmingR programming
R programming
 
R_L1-Aug-2022.pptx
R_L1-Aug-2022.pptxR_L1-Aug-2022.pptx
R_L1-Aug-2022.pptx
 
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
 
Introduction to R Programming
Introduction to R ProgrammingIntroduction to R Programming
Introduction to R Programming
 
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
 
1 R Tutorial Introduction
1 R Tutorial Introduction1 R Tutorial Introduction
1 R Tutorial Introduction
 
R presentation
R presentationR presentation
R presentation
 
R programming language
R programming languageR programming language
R programming language
 
Introduction to R.pptxvvvsjtajtaitsiysyisiysiy
Introduction to R.pptxvvvsjtajtaitsiysyisiysiyIntroduction to R.pptxvvvsjtajtaitsiysyisiysiy
Introduction to R.pptxvvvsjtajtaitsiysyisiysiy
 
RStudio
RStudioRStudio
RStudio
 
R Studio (Report)
R Studio (Report)R Studio (Report)
R Studio (Report)
 
R Brownbag Seminar 2.1
R Brownbag Seminar 2.1R Brownbag Seminar 2.1
R Brownbag Seminar 2.1
 
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
Big Data - Analytics with RBig Data - Analytics with R
Big Data - Analytics with R
 
Open source analytics
Open source analyticsOpen source analytics
Open source analytics
 
Use of Open Source Software Enhancing Curriculum | Developing Opportunities
Use of Open Source Software Enhancing Curriculum | Developing OpportunitiesUse of Open Source Software Enhancing Curriculum | Developing Opportunities
Use of Open Source Software Enhancing Curriculum | Developing Opportunities
 
Best corporate-r-programming-training-in-mumbai
Best corporate-r-programming-training-in-mumbaiBest corporate-r-programming-training-in-mumbai
Best corporate-r-programming-training-in-mumbai
 
R language
R languageR language
R language
 
SessionOne_KnowingRandRStudio
SessionOne_KnowingRandRStudioSessionOne_KnowingRandRStudio
SessionOne_KnowingRandRStudio
 
Study of R Programming
Study of R ProgrammingStudy of R Programming
Study of R Programming
 

Más de Rupak Roy

Más de Rupak Roy (20)

Hierarchical Clustering - Text Mining/NLP
Hierarchical Clustering - Text Mining/NLPHierarchical Clustering - Text Mining/NLP
Hierarchical Clustering - Text Mining/NLP
 
Clustering K means and Hierarchical - NLP
Clustering K means and Hierarchical - NLPClustering K means and Hierarchical - NLP
Clustering K means and Hierarchical - NLP
 
Network Analysis - NLP
Network Analysis  - NLPNetwork Analysis  - NLP
Network Analysis - NLP
 
Topic Modeling - NLP
Topic Modeling - NLPTopic Modeling - NLP
Topic Modeling - NLP
 
Sentiment Analysis Practical Steps
Sentiment Analysis Practical StepsSentiment Analysis Practical Steps
Sentiment Analysis Practical Steps
 
NLP - Sentiment Analysis
NLP - Sentiment AnalysisNLP - Sentiment Analysis
NLP - Sentiment Analysis
 
Text Mining using Regular Expressions
Text Mining using Regular ExpressionsText Mining using Regular Expressions
Text Mining using Regular Expressions
 
Introduction to Text Mining
Introduction to Text Mining Introduction to Text Mining
Introduction to Text Mining
 
Apache Hbase Architecture
Apache Hbase ArchitectureApache Hbase Architecture
Apache Hbase Architecture
 
Introduction to Hbase
Introduction to Hbase Introduction to Hbase
Introduction to Hbase
 
Apache Hive Table Partition and HQL
Apache Hive Table Partition and HQLApache Hive Table Partition and HQL
Apache Hive Table Partition and HQL
 
Installing Apache Hive, internal and external table, import-export
Installing Apache Hive, internal and external table, import-export Installing Apache Hive, internal and external table, import-export
Installing Apache Hive, internal and external table, import-export
 
Introductive to Hive
Introductive to Hive Introductive to Hive
Introductive to Hive
 
Scoop Job, import and export to RDBMS
Scoop Job, import and export to RDBMSScoop Job, import and export to RDBMS
Scoop Job, import and export to RDBMS
 
Apache Scoop - Import with Append mode and Last Modified mode
Apache Scoop - Import with Append mode and Last Modified mode Apache Scoop - Import with Append mode and Last Modified mode
Apache Scoop - Import with Append mode and Last Modified mode
 
Introduction to scoop and its functions
Introduction to scoop and its functionsIntroduction to scoop and its functions
Introduction to scoop and its functions
 
Introduction to Flume
Introduction to FlumeIntroduction to Flume
Introduction to Flume
 
Apache Pig Relational Operators - II
Apache Pig Relational Operators - II Apache Pig Relational Operators - II
Apache Pig Relational Operators - II
 
Passing Parameters using File and Command Line
Passing Parameters using File and Command LinePassing Parameters using File and Command Line
Passing Parameters using File and Command Line
 
Apache PIG Relational Operations
Apache PIG Relational Operations Apache PIG Relational Operations
Apache PIG Relational Operations
 

Último

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Último (20)

Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 

Introduction to R and R Studio

  • 2.  R is a language and a platform for statistical computing and graphics. It is a GNU project and was developed at Bell Laboratories(formerly AT & T, now Lucent Technologies) by John Chambers and his colleagues.  R provides a wide variety of statistical and graphical techniques with highly scalable features.  R is available as a Free Software under the terms of Free Software Foundation’s GNU General Public License in source code form . What is R-language? Rupak Roy
  • 3.  It is includes an effective data handling and storage facility.  It is the most comprehensive statistical analysis package available as it incorporates all of the standard statistical tests, models and analysis as well as providing a comprehensive language for managing and manipulating the data.  Everyone is welcome to provide code enhancements, debug the bug issues and also add new packages. So the wealth of quality packages available for R is testament to this approach to software development and sharing.  R has over 4800 packages available from multiple repositories specializing in topics like econometrics, data mining, spatial analysis and bio-informatics.  R can handle as many types of data from csv, sas, spss , excel, mysql, sql server, oracle and even can be integrated with hadoop for big data analysis . Introduction to R-language Rupak Roy
  • 4.  R is been listed in the top open source analytical tools 2016 list after SAS which is a license version. Therefore in 2019 R took the lead in analytical tools with its robustness and versatile in nature. Introduction to R-language Rupak Roy
  • 5.  R Studio is again a free and open source integrated development environment(IDE) for R programming language for statistical computing and graphics. R studio was founded by JJ Allaire.  R studio is available in 2 editions. R-Studio Desktop, where the program is run locally as a regular desktop application and R-Studio Server which allows accessing R Studio remotely using a web browser. Introduction to R-Studio Rupak Roy
  • 6. Difference between R and R Studio. R and R Studio are two different versions of the same thing. R is a programming language for statistical calculation and R Studio is a IDE integrated Development Environment that has more GUI interface to make analytics easy . We can use R without R Studio but we cant use R Studio without R . Or we can say R Studio is a front end IDE to R. Introduction to R Studio Rupak Roy
  • 7.  The CRAN (Comprehensive R Archive Network) is a network of ftp and web servers around the world that stores identical, up-to-date versions of code and documentations for R. What is CRAN? Rupak Roy
  • 8. What is Big Data ?  Extremely large data sets are analyzed computationally to reveal patterns, trends and associations especially relating to human behavior or machines.  They can be from terabyte to petabyte consisting of millions to trillions of rows and columns.  However R is not made for big data analytics but it has its advantage to integrate with big data technologies named as hadoop. One of the big advantage over hadoop is that hadoop is specially designed for programmers and data scientist, analyst or anyone not from programing background don’t have to spend more time in programming rather than analyzing their data. So what R does in this, will send instructions to the hadoop and hadoop will process all the instructions and return back the results to R.  R also have the advantage to extract multiple samples from hadoop, which is required for statistical modeling computing.  R can handle data as much as the memory available from the system i.e. RAM.
  • 9.  Source editor: contains a text editor where multiple lines of code can be entered.  Users can also save it as script file to disk.  Console editor: where all the interactive work of R is performed like objects created, analysis, filter etc. R Studio Environment
  • 10.  Packages: this is the place where a user can view all the list of install packages. Packages are a self contained set of codes to perform specific task similar to add-ins in excel.  Help: this is where we can browse the built-in help system for any R related topics.  Files: the place where user can browse their files of the computer.  Plots: this is the place where R displays its visual analysis like histogram, bar diagram, boxplots etc.  Workspace/history: The workspace is our current R working environment and includes any user-defined objects (vectors, matrices, data frames, lists, functions). At the end of an R session, the user can save an image of the current workspace that is automatically reloaded the next time when R is started. R Studio Environment Rupak Roy
  • 11.  To install R first, kindly follow the following steps:  Visit https://cran.r-project.org/  Then according to your operating system, select one, in this case we choose ‘Download R for Windows’.  In the next page, click ‘install R for the first time’ from base category.  Now Download R 3.3.3 for Windows.  Run the R setup file and choose the appropriate options according to the needs (we will keep the default setting for this course) and finish the installation.  Select the RGUI and it should something look like this. Installing R and R Studio Rupak Roy
  • 12. Installing R and R Studio Rupak Roy
  • 13.  Now let’s install the R Studio  Go to https://www.rstudio.com/products/rstudio/  Download R Studio desktop, select the installation file for your systems and run the installation file.  Later we can even change the settings by choosing Tools -> options Installing R and R Studio
  • 14. Next: Data types and their structure in R. Installing R and R Studio Rupak Roy