SlideShare une entreprise Scribd logo
1  sur  20
Télécharger pour lire hors ligne
Introduc)on	
  to	
  	
  
          R	
  and	
  RStudio	
  
                       Corey	
  S.	
  Sparks	
  
                Department	
  of	
  Demography	
  
         The	
  University	
  of	
  Texas	
  at	
  San	
  Antonio	
  
                    September	
  22,	
  2012	
  

Sponsored	
  by	
  the	
  UTSA	
  Department	
  of	
  Demography	
  
What	
  is	
  R?	
  
•  R	
  is	
  a	
  system	
  for	
  sta)s)cal	
  computa)on	
  and	
  
   graphics.	
  	
  
•  It	
  is	
  heavily	
  influenced	
  by	
  the	
  S	
  language	
  
•  R	
  was	
  ini)ally	
  wriJen	
  by	
  Ross	
  Ihaka	
  and	
  
   Robert	
  Gentleman	
  at	
  the	
  Department	
  of	
  
   Sta)s)cs	
  of	
  the	
  University	
  of	
  Auckland	
  in	
  
   Auckland,	
  New	
  Zealand.	
  
•  The	
  “R	
  Core	
  Team”	
  maintain	
  the	
  source	
  code	
  
   for	
  the	
  soPware	
  and	
  release	
  regular	
  updates	
  
What	
  is	
  R?	
  
•  The	
  R	
  soPware	
  contains	
  func)onality	
  for	
  a	
  
   large	
  number	
  of	
  sta)s)cal	
  procedures.	
  
•  Linear	
  and	
  generalized	
  linear	
  models	
  
•  Nonlinear	
  regression	
  models	
  
•  Time	
  series	
  analysis	
  
•  Classical	
  parametric	
  and	
  nonparametric	
  tests,	
  
   clustering	
  and	
  smoothing.	
  
What	
  is	
  R?	
  
•  In	
  addi)on,	
  the	
  R	
  project	
  is	
  added	
  to	
  by	
  many	
  
   of	
  its	
  users,	
  who	
  write	
  source	
  code	
  for	
  many	
  
   different	
  types	
  of	
  analy)cal	
  procedures	
  
•  Everything	
  from	
  analy)cal	
  chemistry	
  to	
  
   epidemiology	
  to	
  linguis)cs	
  	
  
    –  OPen	
  code	
  is	
  wriJen	
  in	
  FORTRAN	
  or	
  C++	
  and	
  
       ported	
  to	
  R	
  
    –  Currently	
  4,045	
  different	
  user-­‐wriJen	
  libraries	
  
       available	
  
Where	
  can	
  I	
  run	
  R? 	
  	
  
•  R	
  runs	
  on	
  a	
  variety	
  of	
  plaorms	
  
    –  Windows	
  
    –  Mac	
  OS	
  X	
  
    –  Linux	
  
    –  Unix	
  
•  32	
  and	
  64	
  bit	
  installa)ons	
  
•  Support	
  for	
  parallel	
  compu)ng	
  and	
  clusters	
  
Revolu)on	
  R	
  

•  Commercial	
  version	
  of	
  R	
  soPware	
  
•  Revolu)on	
  R	
  is	
  compiled	
  for	
  mul)-­‐core	
  
   support	
  
•  Allows	
  for	
  a	
  marked	
  reduc)on	
  in	
  computa)on	
  
   )mes	
  because	
  of	
  op)mized	
  code	
  and	
  certain	
  
   math	
  system	
  libraries	
  (BLAS,	
  ATLAS,	
  etc)	
  
What	
  makes	
  R	
  so	
  great?	
  
•  Open	
  source	
  
•  User	
  community	
  
•  Cudng	
  edge	
  development	
  
•  Integra)on	
  with	
  low	
  level	
  programming	
  
   languages	
  
•  Flexibility	
  
•  Mul)-­‐language	
  support	
  
The	
  R	
  Interface	
  
•    Depends	
  on	
  where	
  you	
  run	
  it	
  
•    Different	
  OS’s	
  have	
  very	
  different	
  interfaces	
  
•    R	
  is	
  inherently	
  command	
  line-­‐oriented	
  
•    Several	
  GUIs	
  have	
  been	
  wriJen	
  
RStudio	
  
•  Rela)vely	
  recent	
  incarna)on	
  of	
  an	
  R	
  IDE	
  
•  Open	
  source	
  	
  
•  Desktop	
  and	
  server	
  versions	
  

•  Lots	
  of	
  cool	
  features	
  
    –  syntax	
  highligh)ng	
  
    –  workspace	
  and	
  data	
  browser/editor	
  
    –  integrated	
  help	
  system	
  
    –  integrated	
  history	
  
    –  runs	
  on	
  all	
  OS’s	
  
RStudio	
  Screen	
  
Code	
  editor	
  
R	
  command	
  console	
  
Workspace	
  browser	
  
Command	
  History	
  
Package	
  manager	
  
File	
  manager	
  
Plot	
  manager	
  
Integrated	
  help	
  system	
  
Addi)onal	
  Cool	
  things	
  
•  Mul)ple	
  project	
  management	
  
   –  Keep	
  mul)ple	
  code	
  files	
  for	
  separate	
  projects	
  
•  Lots	
  of	
  keyboard	
  shortcuts	
  
•  Generate	
  HTML	
  reports	
  with	
  knitr	
  
•  Customized	
  IDE	
  
R meet up slides.pptx

Contenu connexe

En vedette

Introduction to R for Data Science :: Session 5 [Data Structuring: Strings in R]
Introduction to R for Data Science :: Session 5 [Data Structuring: Strings in R]Introduction to R for Data Science :: Session 5 [Data Structuring: Strings in R]
Introduction to R for Data Science :: Session 5 [Data Structuring: Strings in R]Goran S. Milovanovic
 
Introduction to R for Data Science :: Session 4
Introduction to R for Data Science :: Session 4Introduction to R for Data Science :: Session 4
Introduction to R for Data Science :: Session 4Goran S. Milovanovic
 
Introduction to R for Data Science :: Session 3
Introduction to R for Data Science :: Session 3Introduction to R for Data Science :: Session 3
Introduction to R for Data Science :: Session 3Goran S. Milovanovic
 
Introduction to R for Data Science :: Session 2
Introduction to R for Data Science :: Session 2Introduction to R for Data Science :: Session 2
Introduction to R for Data Science :: Session 2Goran S. Milovanovic
 
Introduction to R for Data Science :: Session 7 [Multiple Linear Regression i...
Introduction to R for Data Science :: Session 7 [Multiple Linear Regression i...Introduction to R for Data Science :: Session 7 [Multiple Linear Regression i...
Introduction to R for Data Science :: Session 7 [Multiple Linear Regression i...Goran S. Milovanovic
 
Introduction to R for Data Science :: Session 6 [Linear Regression in R]
Introduction to R for Data Science :: Session 6 [Linear Regression in R] Introduction to R for Data Science :: Session 6 [Linear Regression in R]
Introduction to R for Data Science :: Session 6 [Linear Regression in R] Goran S. Milovanovic
 
Introduction to R for Data Science :: Session 1
Introduction to R for Data Science :: Session 1Introduction to R for Data Science :: Session 1
Introduction to R for Data Science :: Session 1Goran S. Milovanovic
 
Intro to RStudio
Intro to RStudioIntro to RStudio
Intro to RStudioegoodwintx
 
Introduction to R for Data Science :: Session 8 [Intro to Text Mining in R, M...
Introduction to R for Data Science :: Session 8 [Intro to Text Mining in R, M...Introduction to R for Data Science :: Session 8 [Intro to Text Mining in R, M...
Introduction to R for Data Science :: Session 8 [Intro to Text Mining in R, M...Goran S. Milovanovic
 

En vedette (9)

Introduction to R for Data Science :: Session 5 [Data Structuring: Strings in R]
Introduction to R for Data Science :: Session 5 [Data Structuring: Strings in R]Introduction to R for Data Science :: Session 5 [Data Structuring: Strings in R]
Introduction to R for Data Science :: Session 5 [Data Structuring: Strings in R]
 
Introduction to R for Data Science :: Session 4
Introduction to R for Data Science :: Session 4Introduction to R for Data Science :: Session 4
Introduction to R for Data Science :: Session 4
 
Introduction to R for Data Science :: Session 3
Introduction to R for Data Science :: Session 3Introduction to R for Data Science :: Session 3
Introduction to R for Data Science :: Session 3
 
Introduction to R for Data Science :: Session 2
Introduction to R for Data Science :: Session 2Introduction to R for Data Science :: Session 2
Introduction to R for Data Science :: Session 2
 
Introduction to R for Data Science :: Session 7 [Multiple Linear Regression i...
Introduction to R for Data Science :: Session 7 [Multiple Linear Regression i...Introduction to R for Data Science :: Session 7 [Multiple Linear Regression i...
Introduction to R for Data Science :: Session 7 [Multiple Linear Regression i...
 
Introduction to R for Data Science :: Session 6 [Linear Regression in R]
Introduction to R for Data Science :: Session 6 [Linear Regression in R] Introduction to R for Data Science :: Session 6 [Linear Regression in R]
Introduction to R for Data Science :: Session 6 [Linear Regression in R]
 
Introduction to R for Data Science :: Session 1
Introduction to R for Data Science :: Session 1Introduction to R for Data Science :: Session 1
Introduction to R for Data Science :: Session 1
 
Intro to RStudio
Intro to RStudioIntro to RStudio
Intro to RStudio
 
Introduction to R for Data Science :: Session 8 [Intro to Text Mining in R, M...
Introduction to R for Data Science :: Session 8 [Intro to Text Mining in R, M...Introduction to R for Data Science :: Session 8 [Intro to Text Mining in R, M...
Introduction to R for Data Science :: Session 8 [Intro to Text Mining in R, M...
 

Similaire à R meet up slides.pptx

Introduction to R Programming
Introduction to R ProgrammingIntroduction to R Programming
Introduction to R Programminghemasri56
 
Big data analytics with R tool.pptx
Big data analytics with R tool.pptxBig data analytics with R tool.pptx
Big data analytics with R tool.pptxsalutiontechnology
 
The History and Use of R
The History and Use of RThe History and Use of R
The History and Use of RAnalyticsWeek
 
R programming Language , Rahul Singh
R programming Language , Rahul SinghR programming Language , Rahul Singh
R programming Language , Rahul SinghRavi Basil
 
Introduction to R.pptx
Introduction to R.pptxIntroduction to R.pptx
Introduction to R.pptxrehab517883
 
COMPUTER LANGUAGES AND THERE DIFFERENCE
COMPUTER LANGUAGES AND THERE DIFFERENCE COMPUTER LANGUAGES AND THERE DIFFERENCE
COMPUTER LANGUAGES AND THERE DIFFERENCE Pavan Kalyan
 
How community software supports language documentation and data analysis
How community software supports language documentation and data analysisHow community software supports language documentation and data analysis
How community software supports language documentation and data analysisPeter Bouda
 
Introduction to R Language
Introduction to R LanguageIntroduction to R Language
Introduction to R LanguageVisuality
 
In-Database Analytics Deep Dive with Teradata and Revolution
In-Database Analytics Deep Dive with Teradata and RevolutionIn-Database Analytics Deep Dive with Teradata and Revolution
In-Database Analytics Deep Dive with Teradata and RevolutionRevolution Analytics
 
R programming language
R programming languageR programming language
R programming languageKeerti Verma
 
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
 
Introduction to basic statistics
Introduction to basic statisticsIntroduction to basic statistics
Introduction to basic statisticsIBM
 

Similaire à R meet up slides.pptx (20)

R introduction
R introductionR introduction
R introduction
 
Introduction to R Programming
Introduction to R ProgrammingIntroduction to R Programming
Introduction to R Programming
 
R language
R languageR language
R language
 
R programming
R programmingR programming
R programming
 
Introduction to R software, by Leire ibaibarriaga
Introduction to R software, by Leire ibaibarriaga Introduction to R software, by Leire ibaibarriaga
Introduction to R software, by Leire ibaibarriaga
 
Introduction to R
Introduction to RIntroduction to R
Introduction to R
 
Big data analytics with R tool.pptx
Big data analytics with R tool.pptxBig data analytics with R tool.pptx
Big data analytics with R tool.pptx
 
The History and Use of R
The History and Use of RThe History and Use of R
The History and Use of R
 
R programming Language , Rahul Singh
R programming Language , Rahul SinghR programming Language , Rahul Singh
R programming Language , Rahul Singh
 
Introduction to R.pptx
Introduction to R.pptxIntroduction to R.pptx
Introduction to R.pptx
 
Class ppt intro to r
Class ppt intro to rClass ppt intro to r
Class ppt intro to r
 
COMPUTER LANGUAGES AND THERE DIFFERENCE
COMPUTER LANGUAGES AND THERE DIFFERENCE COMPUTER LANGUAGES AND THERE DIFFERENCE
COMPUTER LANGUAGES AND THERE DIFFERENCE
 
How community software supports language documentation and data analysis
How community software supports language documentation and data analysisHow community software supports language documentation and data analysis
How community software supports language documentation and data analysis
 
Introduction to R Language
Introduction to R LanguageIntroduction to R Language
Introduction to R Language
 
In-Database Analytics Deep Dive with Teradata and Revolution
In-Database Analytics Deep Dive with Teradata and RevolutionIn-Database Analytics Deep Dive with Teradata and Revolution
In-Database Analytics Deep Dive with Teradata and Revolution
 
R programming language
R programming languageR programming language
R programming language
 
R programming
R programmingR programming
R programming
 
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 basic statistics
Introduction to basic statisticsIntroduction to basic statistics
Introduction to basic statistics
 
Evolution of Programming Languages.pdf
Evolution of Programming Languages.pdfEvolution of Programming Languages.pdf
Evolution of Programming Languages.pdf
 

Plus de Corey Sparks

Dem 7263 fall 2015 Spatial GLM's
Dem 7263 fall 2015 Spatial GLM'sDem 7263 fall 2015 Spatial GLM's
Dem 7263 fall 2015 Spatial GLM'sCorey Sparks
 
Dem 7263 fall 2015 spatially autoregressive models 1
Dem 7263 fall 2015   spatially autoregressive models 1Dem 7263 fall 2015   spatially autoregressive models 1
Dem 7263 fall 2015 spatially autoregressive models 1Corey Sparks
 
Demography 7263 fall 2015 spatially autoregressive models 2
Demography 7263 fall 2015 spatially autoregressive models 2Demography 7263 fall 2015 spatially autoregressive models 2
Demography 7263 fall 2015 spatially autoregressive models 2Corey Sparks
 
Spatial statistics presentation Texas A&M Census RDC
Spatial statistics presentation Texas A&M Census RDCSpatial statistics presentation Texas A&M Census RDC
Spatial statistics presentation Texas A&M Census RDCCorey Sparks
 
Sparks & Sparks Spatiotemporal persistence of residential segregation SSSA 2013
Sparks & Sparks Spatiotemporal persistence of residential segregation SSSA 2013Sparks & Sparks Spatiotemporal persistence of residential segregation SSSA 2013
Sparks & Sparks Spatiotemporal persistence of residential segregation SSSA 2013Corey Sparks
 
Sparks and Valencia PAA 2014 session107
Sparks and Valencia PAA 2014 session107Sparks and Valencia PAA 2014 session107
Sparks and Valencia PAA 2014 session107Corey Sparks
 
Infant mortality paper
Infant mortality paperInfant mortality paper
Infant mortality paperCorey Sparks
 
Campbell sparkspaa12
Campbell sparkspaa12Campbell sparkspaa12
Campbell sparkspaa12Corey Sparks
 
San Antonio Food Insecurity Assessment
San Antonio Food Insecurity AssessmentSan Antonio Food Insecurity Assessment
San Antonio Food Insecurity AssessmentCorey Sparks
 
A socio ecological model of injury mortality in Texas using Bayesian modesl
A socio ecological model of injury mortality in Texas using Bayesian modeslA socio ecological model of injury mortality in Texas using Bayesian modesl
A socio ecological model of injury mortality in Texas using Bayesian modeslCorey Sparks
 

Plus de Corey Sparks (10)

Dem 7263 fall 2015 Spatial GLM's
Dem 7263 fall 2015 Spatial GLM'sDem 7263 fall 2015 Spatial GLM's
Dem 7263 fall 2015 Spatial GLM's
 
Dem 7263 fall 2015 spatially autoregressive models 1
Dem 7263 fall 2015   spatially autoregressive models 1Dem 7263 fall 2015   spatially autoregressive models 1
Dem 7263 fall 2015 spatially autoregressive models 1
 
Demography 7263 fall 2015 spatially autoregressive models 2
Demography 7263 fall 2015 spatially autoregressive models 2Demography 7263 fall 2015 spatially autoregressive models 2
Demography 7263 fall 2015 spatially autoregressive models 2
 
Spatial statistics presentation Texas A&M Census RDC
Spatial statistics presentation Texas A&M Census RDCSpatial statistics presentation Texas A&M Census RDC
Spatial statistics presentation Texas A&M Census RDC
 
Sparks & Sparks Spatiotemporal persistence of residential segregation SSSA 2013
Sparks & Sparks Spatiotemporal persistence of residential segregation SSSA 2013Sparks & Sparks Spatiotemporal persistence of residential segregation SSSA 2013
Sparks & Sparks Spatiotemporal persistence of residential segregation SSSA 2013
 
Sparks and Valencia PAA 2014 session107
Sparks and Valencia PAA 2014 session107Sparks and Valencia PAA 2014 session107
Sparks and Valencia PAA 2014 session107
 
Infant mortality paper
Infant mortality paperInfant mortality paper
Infant mortality paper
 
Campbell sparkspaa12
Campbell sparkspaa12Campbell sparkspaa12
Campbell sparkspaa12
 
San Antonio Food Insecurity Assessment
San Antonio Food Insecurity AssessmentSan Antonio Food Insecurity Assessment
San Antonio Food Insecurity Assessment
 
A socio ecological model of injury mortality in Texas using Bayesian modesl
A socio ecological model of injury mortality in Texas using Bayesian modeslA socio ecological model of injury mortality in Texas using Bayesian modesl
A socio ecological model of injury mortality in Texas using Bayesian modesl
 

Dernier

Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Projectjordimapav
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Millenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptxMillenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptxJanEmmanBrigoli
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
EMBODO Lesson Plan Grade 9 Law of Sines.docx
EMBODO Lesson Plan Grade 9 Law of Sines.docxEMBODO Lesson Plan Grade 9 Law of Sines.docx
EMBODO Lesson Plan Grade 9 Law of Sines.docxElton John Embodo
 

Dernier (20)

Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Project
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
Millenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptxMillenials and Fillennials (Ethical Challenge and Responses).pptx
Millenials and Fillennials (Ethical Challenge and Responses).pptx
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
EMBODO Lesson Plan Grade 9 Law of Sines.docx
EMBODO Lesson Plan Grade 9 Law of Sines.docxEMBODO Lesson Plan Grade 9 Law of Sines.docx
EMBODO Lesson Plan Grade 9 Law of Sines.docx
 

R meet up slides.pptx

  • 1. Introduc)on  to     R  and  RStudio   Corey  S.  Sparks   Department  of  Demography   The  University  of  Texas  at  San  Antonio   September  22,  2012   Sponsored  by  the  UTSA  Department  of  Demography  
  • 2. What  is  R?   •  R  is  a  system  for  sta)s)cal  computa)on  and   graphics.     •  It  is  heavily  influenced  by  the  S  language   •  R  was  ini)ally  wriJen  by  Ross  Ihaka  and   Robert  Gentleman  at  the  Department  of   Sta)s)cs  of  the  University  of  Auckland  in   Auckland,  New  Zealand.   •  The  “R  Core  Team”  maintain  the  source  code   for  the  soPware  and  release  regular  updates  
  • 3. What  is  R?   •  The  R  soPware  contains  func)onality  for  a   large  number  of  sta)s)cal  procedures.   •  Linear  and  generalized  linear  models   •  Nonlinear  regression  models   •  Time  series  analysis   •  Classical  parametric  and  nonparametric  tests,   clustering  and  smoothing.  
  • 4. What  is  R?   •  In  addi)on,  the  R  project  is  added  to  by  many   of  its  users,  who  write  source  code  for  many   different  types  of  analy)cal  procedures   •  Everything  from  analy)cal  chemistry  to   epidemiology  to  linguis)cs     –  OPen  code  is  wriJen  in  FORTRAN  or  C++  and   ported  to  R   –  Currently  4,045  different  user-­‐wriJen  libraries   available  
  • 5. Where  can  I  run  R?     •  R  runs  on  a  variety  of  plaorms   –  Windows   –  Mac  OS  X   –  Linux   –  Unix   •  32  and  64  bit  installa)ons   •  Support  for  parallel  compu)ng  and  clusters  
  • 6. Revolu)on  R   •  Commercial  version  of  R  soPware   •  Revolu)on  R  is  compiled  for  mul)-­‐core   support   •  Allows  for  a  marked  reduc)on  in  computa)on   )mes  because  of  op)mized  code  and  certain   math  system  libraries  (BLAS,  ATLAS,  etc)  
  • 7. What  makes  R  so  great?   •  Open  source   •  User  community   •  Cudng  edge  development   •  Integra)on  with  low  level  programming   languages   •  Flexibility   •  Mul)-­‐language  support  
  • 8. The  R  Interface   •  Depends  on  where  you  run  it   •  Different  OS’s  have  very  different  interfaces   •  R  is  inherently  command  line-­‐oriented   •  Several  GUIs  have  been  wriJen  
  • 9. RStudio   •  Rela)vely  recent  incarna)on  of  an  R  IDE   •  Open  source     •  Desktop  and  server  versions   •  Lots  of  cool  features   –  syntax  highligh)ng   –  workspace  and  data  browser/editor   –  integrated  help  system   –  integrated  history   –  runs  on  all  OS’s  
  • 19. Addi)onal  Cool  things   •  Mul)ple  project  management   –  Keep  mul)ple  code  files  for  separate  projects   •  Lots  of  keyboard  shortcuts   •  Generate  HTML  reports  with  knitr   •  Customized  IDE