SlideShare una empresa de Scribd logo
1 de 40
R Text-Based Data I/O R Data Frame Access and Manipulation Ian M. Cook September 29, 2010
R Data I/O, Access, and Manipulation September 29, 2010 Background Information
Data Types ,[object Object],[object Object],[object Object],[object Object],R Data I/O, Access, and Manipulation September 29, 2010
Data Containers ,[object Object],[object Object],[object Object],[object Object],R Data I/O, Access, and Manipulation September 29, 2010
Data Containers ,[object Object],[object Object],[object Object],R Data I/O, Access, and Manipulation September 29, 2010
Data Frames ,[object Object],[object Object],[object Object],R Data I/O, Access, and Manipulation September 29, 2010
R Data I/O, Access, and Manipulation September 29, 2010 Data Frame Input/Output
Basic CSV Data Input ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],R Data I/O, Access, and Manipulation September 29, 2010
Important Tips ,[object Object],[object Object],[object Object],[object Object],R Data I/O, Access, and Manipulation September 29, 2010
Other Delimited Text Files ,[object Object],[object Object],[object Object],[object Object],[object Object],R Data I/O, Access, and Manipulation September 29, 2010
Important Tips ,[object Object],[object Object],[object Object],R Data I/O, Access, and Manipulation September 29, 2010
CSV Data Output ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],R Data I/O, Access, and Manipulation September 29, 2010
Important Tips ,[object Object],[object Object],R Data I/O, Access, and Manipulation September 29, 2010
Databases ,[object Object],[object Object],[object Object],[object Object],R Data I/O, Access, and Manipulation September 29, 2010
MySQL Databases ,[object Object],[object Object],R Data I/O, Access, and Manipulation September 29, 2010
Oracle Databases ,[object Object],[object Object],R Data I/O, Access, and Manipulation September 29, 2010
R Data I/O, Access, and Manipulation September 29, 2010 Data Frame Access and Manipulation
Accessing Columns in a Data Frame ,[object Object],[object Object],[object Object],[object Object],[object Object],R Data I/O, Access, and Manipulation September 29, 2010
Dollar Sign Extraction Operator ,[object Object],[object Object],[object Object],R Data I/O, Access, and Manipulation September 29, 2010
Square Brackets Extraction Operator ,[object Object],[object Object],[object Object],[object Object],R Data I/O, Access, and Manipulation September 29, 2010
subset()  Function ,[object Object],[object Object],R Data I/O, Access, and Manipulation September 29, 2010
Numerical Indices ,[object Object],[object Object],[object Object],[object Object],[object Object],R Data I/O, Access, and Manipulation September 29, 2010
Accessing Rows in a Data Frame ,[object Object],[object Object],[object Object],[object Object],R Data I/O, Access, and Manipulation September 29, 2010
Square Brackets Extraction Operator ,[object Object],[object Object],[object Object],R Data I/O, Access, and Manipulation September 29, 2010
Square Brackets Extraction Operator ,[object Object],[object Object],[object Object],R Data I/O, Access, and Manipulation September 29, 2010
subset()  Function ,[object Object],[object Object],[object Object],R Data I/O, Access, and Manipulation September 29, 2010
Square Brackets Extraction Operator ,[object Object],[object Object],[object Object],[object Object],[object Object],R Data I/O, Access, and Manipulation September 29, 2010
Assignment with  []  and  $ ,[object Object],[object Object],[object Object],[object Object],R Data I/O, Access, and Manipulation September 29, 2010
Dimensions ,[object Object],[object Object],[object Object],[object Object],[object Object],R Data I/O, Access, and Manipulation September 29, 2010
Factors ,[object Object],[object Object],[object Object],R Data I/O, Access, and Manipulation September 29, 2010
R Data I/O, Access, and Manipulation September 29, 2010 Connections and Line-by-Line Text Input/Output
Connections ,[object Object],[object Object],[object Object],[object Object],R Data I/O, Access, and Manipulation September 29, 2010
Connections for Input ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],R Data I/O, Access, and Manipulation September 29, 2010
Line-by-Line Input ,[object Object],[object Object],[object Object],[object Object],[object Object],R Data I/O, Access, and Manipulation September 29, 2010
Line-by-Line Input ,[object Object],[object Object],[object Object],R Data I/O, Access, and Manipulation September 29, 2010
Connections for Output ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],R Data I/O, Access, and Manipulation September 29, 2010
Output to a Connection ,[object Object],[object Object],[object Object],[object Object],R Data I/O, Access, and Manipulation September 29, 2010
Output to a File ,[object Object],[object Object],[object Object],[object Object],[object Object],R Data I/O, Access, and Manipulation September 29, 2010
Output to a File ,[object Object],[object Object],[object Object],[object Object],R Data I/O, Access, and Manipulation September 29, 2010
Gzip Connections ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],R Data I/O, Access, and Manipulation September 29, 2010

Más contenido relacionado

La actualidad más candente

Physical elements of data
Physical elements of dataPhysical elements of data
Physical elements of dataDimara Hakim
 
Improving Effeciency with Options in SAS
Improving Effeciency with Options in SASImproving Effeciency with Options in SAS
Improving Effeciency with Options in SASguest2160992
 
Data structure
Data structureData structure
Data structureMohd Arif
 
Basic Structure Of C++
Basic Structure Of C++Basic Structure Of C++
Basic Structure Of C++DevangiParekh1
 
Aaa ped-6-Data manipulation: Data Files, and Data Cleaning & Preparation
Aaa ped-6-Data manipulation:  Data Files, and Data Cleaning & PreparationAaa ped-6-Data manipulation:  Data Files, and Data Cleaning & Preparation
Aaa ped-6-Data manipulation: Data Files, and Data Cleaning & PreparationAminaRepo
 
Adbms 22 dynamic multi level index using b and b+ tree
Adbms 22 dynamic multi level index using b  and b+ treeAdbms 22 dynamic multi level index using b  and b+ tree
Adbms 22 dynamic multi level index using b and b+ treeVaibhav Khanna
 
Intro To TSQL - Unit 5
Intro To TSQL - Unit 5Intro To TSQL - Unit 5
Intro To TSQL - Unit 5iccma
 
Trees - Data structures in C/Java
Trees - Data structures in C/JavaTrees - Data structures in C/Java
Trees - Data structures in C/Javageeksrik
 
Using Spectrum on Demand from MapInfo Pro
Using Spectrum on Demand from MapInfo ProUsing Spectrum on Demand from MapInfo Pro
Using Spectrum on Demand from MapInfo ProPeter Horsbøll Møller
 
Introductiont To Aray,Tree,Stack, Queue
Introductiont To Aray,Tree,Stack, QueueIntroductiont To Aray,Tree,Stack, Queue
Introductiont To Aray,Tree,Stack, QueueGhaffar Khan
 

La actualidad más candente (19)

Physical elements of data
Physical elements of dataPhysical elements of data
Physical elements of data
 
Improving Effeciency with Options in SAS
Improving Effeciency with Options in SASImproving Effeciency with Options in SAS
Improving Effeciency with Options in SAS
 
Data structure
Data structureData structure
Data structure
 
Basic Structure Of C++
Basic Structure Of C++Basic Structure Of C++
Basic Structure Of C++
 
Co&al lecture-05
Co&al lecture-05Co&al lecture-05
Co&al lecture-05
 
Introduction to matlab
Introduction to matlabIntroduction to matlab
Introduction to matlab
 
SAS Macros
SAS MacrosSAS Macros
SAS Macros
 
Aaa ped-6-Data manipulation: Data Files, and Data Cleaning & Preparation
Aaa ped-6-Data manipulation:  Data Files, and Data Cleaning & PreparationAaa ped-6-Data manipulation:  Data Files, and Data Cleaning & Preparation
Aaa ped-6-Data manipulation: Data Files, and Data Cleaning & Preparation
 
Adbms 22 dynamic multi level index using b and b+ tree
Adbms 22 dynamic multi level index using b  and b+ treeAdbms 22 dynamic multi level index using b  and b+ tree
Adbms 22 dynamic multi level index using b and b+ tree
 
Intro To TSQL - Unit 5
Intro To TSQL - Unit 5Intro To TSQL - Unit 5
Intro To TSQL - Unit 5
 
Tree
TreeTree
Tree
 
Abap Questions
Abap QuestionsAbap Questions
Abap Questions
 
Trees
TreesTrees
Trees
 
Data frame operations
Data frame operationsData frame operations
Data frame operations
 
Sql rally 2013 columnstore indexes
Sql rally 2013   columnstore indexesSql rally 2013   columnstore indexes
Sql rally 2013 columnstore indexes
 
Trees - Data structures in C/Java
Trees - Data structures in C/JavaTrees - Data structures in C/Java
Trees - Data structures in C/Java
 
Using Spectrum on Demand from MapInfo Pro
Using Spectrum on Demand from MapInfo ProUsing Spectrum on Demand from MapInfo Pro
Using Spectrum on Demand from MapInfo Pro
 
SqlSaturday199 - Columnstore Indexes
SqlSaturday199 - Columnstore IndexesSqlSaturday199 - Columnstore Indexes
SqlSaturday199 - Columnstore Indexes
 
Introductiont To Aray,Tree,Stack, Queue
Introductiont To Aray,Tree,Stack, QueueIntroductiont To Aray,Tree,Stack, Queue
Introductiont To Aray,Tree,Stack, Queue
 

Similar a R Text-Based Data I/O and Data Frame Access and Manupulation

Similar a R Text-Based Data I/O and Data Frame Access and Manupulation (20)

Unit 3
Unit 3Unit 3
Unit 3
 
Basics R.ppt
Basics R.pptBasics R.ppt
Basics R.ppt
 
Data analytics with R
Data analytics with RData analytics with R
Data analytics with R
 
Basics.ppt
Basics.pptBasics.ppt
Basics.ppt
 
Sql intro & ddl 1
Sql intro & ddl 1Sql intro & ddl 1
Sql intro & ddl 1
 
Sql intro & ddl 1
Sql intro & ddl 1Sql intro & ddl 1
Sql intro & ddl 1
 
Sql fundamentals
Sql fundamentalsSql fundamentals
Sql fundamentals
 
fINAL Lesson_5_Data_Manipulation_using_R_v1.pptx
fINAL Lesson_5_Data_Manipulation_using_R_v1.pptxfINAL Lesson_5_Data_Manipulation_using_R_v1.pptx
fINAL Lesson_5_Data_Manipulation_using_R_v1.pptx
 
PT- Oracle session01
PT- Oracle session01 PT- Oracle session01
PT- Oracle session01
 
Database Management Lab -SQL Queries
Database Management Lab -SQL Queries Database Management Lab -SQL Queries
Database Management Lab -SQL Queries
 
Introduction to R _IMPORTANT FOR DATA ANALYTICS
Introduction to R _IMPORTANT FOR DATA ANALYTICSIntroduction to R _IMPORTANT FOR DATA ANALYTICS
Introduction to R _IMPORTANT FOR DATA ANALYTICS
 
12 SQL
12 SQL12 SQL
12 SQL
 
12 SQL
12 SQL12 SQL
12 SQL
 
PO WER - Piotr Mariat - Sql
PO WER - Piotr Mariat - SqlPO WER - Piotr Mariat - Sql
PO WER - Piotr Mariat - Sql
 
ch3
ch3ch3
ch3
 
Lecture1_R.ppt
Lecture1_R.pptLecture1_R.ppt
Lecture1_R.ppt
 
Lecture1_R.ppt
Lecture1_R.pptLecture1_R.ppt
Lecture1_R.ppt
 
Lecture1 r
Lecture1 rLecture1 r
Lecture1 r
 
Modeling in R Programming Language for Beginers.ppt
Modeling in R Programming Language for Beginers.pptModeling in R Programming Language for Beginers.ppt
Modeling in R Programming Language for Beginers.ppt
 
DATABASE MANAGEMENT SYSTEM
DATABASE MANAGEMENT SYSTEMDATABASE MANAGEMENT SYSTEM
DATABASE MANAGEMENT SYSTEM
 

Último

Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 

Último (20)

Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 

R Text-Based Data I/O and Data Frame Access and Manupulation

  • 1. R Text-Based Data I/O R Data Frame Access and Manipulation Ian M. Cook September 29, 2010
  • 2. R Data I/O, Access, and Manipulation September 29, 2010 Background Information
  • 3.
  • 4.
  • 5.
  • 6.
  • 7. R Data I/O, Access, and Manipulation September 29, 2010 Data Frame Input/Output
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17. R Data I/O, Access, and Manipulation September 29, 2010 Data Frame Access and Manipulation
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31. R Data I/O, Access, and Manipulation September 29, 2010 Connections and Line-by-Line Text Input/Output
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.