0

I'm trying to combine a long list of data frames to one. every data frame is in a csv file. I tried:

setwd("path") file_names <- dir("path") your_data_frame <- do.call(rbind,lapply(file_names,read.csv))

but I got a data frame with one column. every row is one long list of all its data.

0 Answers0