Handbook of Hidden Data Scientist (R)
CtrlK
  • Introduction
  • References
  • Install R
    • Mac OSX
    • Windows
    • Linux
  • Basics
    • Analysis Types
    • Machine Learning
    • Tidy data set
  • R
    • Limitations
    • Documentation
    • Coding Standards
    • Basics and Data Types
    • Data Table
    • Textual Serialization
    • Control Structures
    • Functions
    • Packages
    • Vectorized Operations
    • Date and Time
    • Loop Functions
    • Split Function
    • Random Variables
    • Simulate Linear Model
    • Debugging
    • Profiler
  • Reading and Writing
    • Files
    • Larger Datasets
    • CSV
    • Excel
    • JSON
    • XML and Web pages
    • REST API
    • MySql
    • HDF5
    • Other...
  • Cleaning Data
    • Subsetting
    • Summarizing
    • New Variables
    • Reshaping
    • Merging
    • Editing text
    • Regular Expressions
Powered by GitBook
On this page

Was this helpful?

  1. Reading and Writing

CSV

Read CSV file into memory

In order to read tabular data use read.table or read.csv.

data <- read.table("./rows.csv", sep=",", header=TRUE)

head(data)

or

data <- read.csv("./rows.csv")

head(data)
PreviousLarger DatasetsNextExcel

Last updated 5 years ago

Was this helpful?