read csv as dataframe in R code example
Example 1: read csv in r
data <- read.csv("input.csv")
print(data)
Example 2: r studio parse csv
# Import the data and look at the first six rows
carSpeeds <- read.csv(file = 'data/car-speeds.csv')
head(carSpeeds)