View source: R/general_utils.R
find_pattern | R Documentation |
return how many times a specific pattern occurs in any file of the current directory and sub directories.
find_pattern(pattern, which_files = c("R", "Rmd"), dir = ".")
which_files |
a character vector with file extensions to check. |
dir |
starting directory from which an iterative search is performed |
fun |
string or name with the pattern to search |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.