ften, I find I need to loop through directories full of
files, sometimes tens of thousands of them, in order to combine them into a single analytical dataset I can use. When it’s only a few dozen, using
, or the like can be fine, but nothing is quite as fast as using
Here’s a snippet of code that allows one to use
R to concatenate
csv files in a directory. People in the lab have found it helpful so maybe others will as well.