Skip to content

Instantly share code, notes, and snippets.

@ChengLuFred
Created April 15, 2020 01:38
Show Gist options
  • Save ChengLuFred/9ce7d8031cbdda85ec1308e229a16cfb to your computer and use it in GitHub Desktop.
Save ChengLuFred/9ce7d8031cbdda85ec1308e229a16cfb to your computer and use it in GitHub Desktop.
[Read Data in R] read .csv etc. tables into R #R

row.names argument also can be number denoting which column to be used as index

data <- read.csv('homework05.csv', header = TRUE, row.names = c('DATE'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment