Importing Data

A Scientist's Guide to R: Step 1. Getting Data into R

1 TL;DR 2 Introduction 3 Installing and Loading R Packages 4 How to Get Your Data Into R 4.1 Comma Delimited (.csv) Files 4.2 Tab Delimited (.txt) Files 4.3 Files With Other Delimiting Characters (also .txt) 4.4 Microsoft Excel Files (.xlsx, .xls) 4.5 Files from SPSS, SAS, or Stata 4.6 Fixed Width Files (.txt, .gz, .bz2, .xz, .zip, etc.) 4.7 html/xml files 4.8 JavaScript Object Notation (JSON) Files 4.