0

I have a list of .rda data files with names all start with say AAA, and need to rbind all of them into one dataset I tried the following codes but it does not work

files <- list.files(pattern="AAA")
df <- do.call(`rbind`,lapply(files, load))
vera_kkk
  • 47
  • 7
  • Are you trying to `rbind` the tables within a `.rda`? – Jrakru56 Nov 09 '18 at 05:29
  • 1
    *"it does not work"* ... how, precisely? Do you get an error? Warning? Perhaps neither but your data looks wrong? – r2evans Nov 09 '18 at 05:39
  • Yes, I have 70 .rda data that I need to rbind. If I use the code provided above, the df file I got is a column of names of each .rda files – vera_kkk Nov 25 '18 at 21:16

0 Answers0