ls_grep | R Documentation |
Determine the names of all objects in the global environment that match a specified regex pattern.
ls_grep(pattern, value = TRUE, envir = .GlobalEnv, ...)
pattern |
character string, the regex pattern to match. Passed to |
value |
logical, whether to return the names of the objects. If set to FALSE, the position of the objects in the global environment object listing is returned. Defaults to TRUE. |
envir |
the environment in which to search. Defaults to the global environment, |
... |
optional arguments passed to |
a vector of character names or numeric positions for the matches.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.