[R] Selecting files with a particular string in filename

2012-04-02 Thread Kumar Mainali
I am trying to find an efficient way to select certain text files from a folder with thousands of text files. I used file.list function with a specific pattern to obtain 70 files for each of the i's in 1:100. Next, I need to select some files from this list of 70 files. The files to be selected do

Re: [R] Selecting files with a particular string in filename

2012-04-02 Thread Rolf Turner
Doesn't grep() solve your problem? cheers, Rolf Turner On 02/04/12 10:51, Kumar Mainali wrote: I am trying to find an efficient way to select certain text files from a folder with thousands of text files. I used file.list function with a specific pattern to obtain 70 files for