View source: R/str2str_functions.R
grab | R Documentation |
grab
extracts the contents of objects in an environment based on their
object names as a character vector. The object contents are stored to a list
where the names are the object names.grab
extracts the contents of objects in an environment based on their
object names as a character vector. The object contents are stored to a list
where the names are the object names.
grab(x, envir = sys.frame())
x |
character vector providing the exact names of objects in the environment
|
envir |
environment to pull the objects from. Default is the global environment. |
list of objects with names x
.
grab(x = c("attitude","mtcars","airquality"))
grab(x = c("mean.default","mean.Date","mean.difftime"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.