# Read the CSVs in one object that has the data as lists # in the same file directory you have to have some .csv files temp = list.files(pattern="*.csv") myfiles = lapply(temp, read.table, sep=",")