Returns names of files whose text contains a pattern
Usage
search_files(pattern, files)
Arguments
- pattern
Case sensitive pattern to look for
- files
Text files to search (e.g., .R, .txt...)
Examples
#files<-list.files(path="...",full.names=TRUE)
#search_files('some text',files)