I have two folders, folder1 and folder2 with around 200 files each that are either *rda or *R. I want to read all of the
folder1
folder2
*rda
*R
for (f in list.files(pattern="*.R")) { source(f) } for (f in list.files(pattern="*.rda")) { load(f) }