Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## assuming you have a folder full of .csv's to merge
- ## csv's must all have identical column names.
- folder <- "./path/to/csv/files"
- filenames <- list.files(folder)
- all_files <- Reduce(rbind, lapply(filenames, read.csv))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement