how to read data csv in r code example Example: read csv in r data <- read.csv("input.csv") print(data)