create data set in r from csv code example Example: read csv in r data <- read.csv("input.csv") print(data)