I am trying to return the file name from list.files, but there are two equally named files. filename.csv filename_review.csv
I want to put each file name in my own list. Doing this for filename_review.csv easy, as it has unique things in it, but how to sift another? I need grep(".csv", list.files()) without returning filename_review.csv .
James source share