Description Usage Arguments Value See Also
View source: R/string_in_dir.R
Finds the location, frequency, and context with which a given string is used in files contained within a specified directory. Regular expressions are supported to facilitate searching in both string location and file selection.
1 | string_in_dir(path = NULL, string, print_negs = F, print_lines = F, ...)
|
path |
a character string (length == 1) pointing to the location of the directory to search.
Passed to |
string |
a character string (length == 1) indicating the string to search for Regular expressions are supported here |
print_negs |
logical. Do you wish to see the names of the files were searched but
that do not have any matches? Defaults to |
print_lines |
logical or |
... |
optional arguments to be passed to |
The search results are printed to the console.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.