r programming working with csv files code example Example: read csv in r data <- read.csv("input.csv") print(data)