Description Usage Arguments Examples
Print file names and line numbers where a text pattern is found in all text files within in a specified directory (and subdirectories)
1 2 | findtextinfiles(tofind, filter = "\\.R(md)?$", dir = getwd(),
full.names = T, recursive = F)
|
tofind |
string: the pattern to find in all files |
filter |
string: the pattern of file names to search in (default to |
dir |
the directory root to search in (default to |
full.names |
logical: Whether to return full path to files or not (default |
recursive |
logical: Whether to search subdirectories (default |
1 | findtextinfiles('function')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.