Reading multiple csv files from a folder into a single dataframe in R [duplicate]

Try lapply and do.call

file_names <- dir() #where you have your files

your_data_frame <- do.call(rbind,lapply(file_names,read.csv))

Leave a Comment