SlideShare a Scribd company logo
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

More Related Content

What's hot

Physical elements of data
Physical elements of dataPhysical elements of data
Physical elements of data
Dimara Hakim
 
Data structure
Data structureData structure
Data structure
Mohd Arif
 
Trees - Data structures in C/Java
Trees - Data structures in C/JavaTrees - Data structures in C/Java
Trees - Data structures in C/Java
geeksrik
 
Introductiont To Aray,Tree,Stack, Queue
Introductiont To Aray,Tree,Stack, QueueIntroductiont To Aray,Tree,Stack, Queue
Introductiont To Aray,Tree,Stack, Queue
Ghaffar Khan
 

What's hot (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 to R Text-Based Data I/O and Data Frame Access and Manupulation

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
anshikagoel52
 
DATABASE MANAGEMENT SYSTEM
DATABASE MANAGEMENT SYSTEMDATABASE MANAGEMENT SYSTEM
DATABASE MANAGEMENT SYSTEM
Sonia Pahuja
 

Similar to 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
 

Recently uploaded

Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
Bhaskar Mitra
 

Recently uploaded (20)

Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
Demystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyDemystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John Staveley
 
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
 
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
 
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi IbrahimzadeFree and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
Introduction to Open Source RAG and RAG Evaluation
Introduction to Open Source RAG and RAG EvaluationIntroduction to Open Source RAG and RAG Evaluation
Introduction to Open Source RAG and RAG Evaluation
 
IESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIESVE for Early Stage Design and Planning
IESVE for Early Stage Design and Planning
 
UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
 
10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová
 

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.