0

Read a few CSV files(say 100) from a folder having 1000 of them using the name of CSV files. I used list.files(pattern = "*.csv") to list all files.
Then, I need to read-only selected files such as file1.csv, file5.csv, file10.csv, file25.csv from the whole list of files.

Thanks

b_takhel
  • 53
  • 7
  • adjust your pattern-argument to a regex that matches your desire... what is the common pattern in the files you want to read? – Wimpel Jun 05 '20 at 14:29

0 Answers0