Description Usage Arguments Details Author(s) Examples
View source: R/searchFunctions.R
Search Functions for Character Strings
1 | searchFunctions(pattern, directory)
|
pattern |
The character string to be matched |
directory |
The directory of functions to be scanned |
At times, I have needed to find certain character strings within a package. For instance, I may need to know which functions contain a particular argument. This function scans all of the files in a directory for a character string and returns the names of the files that contain it.
Benjamin Nutter
1 2 3 4 5 | ## Not run:
searchFunctions("survival",
"C:/Users/nutterb/Documents/GitHub/lazyWeave/R")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.