R Data Import/Export
1 Introduction::::: : 2
1.1 Imports::::::: : : : : : 2
1.2 Export to text files:::::: : : : : 3
1.3 XML:::::::: : : : : : : : 4
2 Spreadsheet-like data::::: : 5
2.1 Variations on read.table::::: : : : : : : : 5
2.2 Fixed-width-format files:::::7
2.3 Data Interchange Format (DIF):::::: : 7
2.4 Using scan directly:::::: : : : : 7
2.5 Re-shaping data:::::: : : : : : : : 8
2.6 Flat contingency tables:::::: 9
3 Importing from other statistical systems:11
3.1 EpiInfo, Minitab, S-PLUS, SAS, SPSS, Stata, Systat::: 11
3.2 Octave::::::: : : : : : 12
4 Relational databases:::: : 13
4.1 Why use a database?:::::: : 13
4.2 Overview of RDBMSs:::::: 13
4.2.1 SQL queries:::::: : : : : : 13
4.2.2 Data types:::::: : : : : : : 14
4.3 R interface packages:::::: : : 15
4.3.1 Packages DBI and RMySQL::::15
4.3.2 Package RODBC:::::: 16
5 Binary files:::::: : 19
5.1 Binary data formats:::::: : : 19
5.2 dBase files (DBF):::::: : : : : 19
6 Connections:::::: 20
6.1 Types of connections:::::: : 20
6.2 Output to connections:::::: 21
6.3 Input from connections:::::21
6.3.1 Pushback::::::: : : : : : : : 22
6.4 Listing and manipulating connections:::: : : : : : 22
6.5 Binary connections:::::: : : : 22
6.5.1 Special values:::::: : : : 23
7 Network interfaces:::: : : : 24
7.1 Reading from sockets:::::: : 24
7.2 Using download.file:::::: 24
7.3 DCOM interface:::::: : : : : : : 24
7.4 CORBA interface:::::: : : : : : 24
8 Reading Excel spreadsheets::: : : : 26