I have a bunch of csv files that follow the naming scheme: est2009US.csv.
I am reading them into R as follows:
myFiles <- list.files(path=\"~/Dow
You can create the object from lapply first.
lapply
Lapply <- lapply(myFiles, read.csv, header=TRUE)) names(Lapply) <- myFiles for(i in myFiles) Lapply[[i]]$Source = i do.call(rbind, Lapply)