I have a list of files. I also have a list of \"names\" which I substr() from the actual filenames of these files. I would like to add a new column to each of t
substr()
A tricky way:
library(plyr) names(filelist) <- ID result <- ldply(filelist, data.frame)