Which is the best method to apply a script repetitively to n .csv files in R?
Be sure to use Rs dir command to produce the list of filenames instead of manually entering them in. filenames = dir(pattern=”*01.csv”) for( i in 1:length(filenames) ) { …