r read csv files in directory code example Example: read csv file in r data <- read.csv("input.csv") print(data)