View source: R/read_object_environment.R
read_object_environment | R Documentation |
Read an object from an environment
read_object_environment(object, env, warn = TRUE)
object |
the name of the object |
env |
the environment |
warn |
Issue a warning if the object is not found in the environment. Defaults to TRUE |
the object or NULL
is the object doesn't exists in the
environment
object <- "test" value <- TRUE env <- new.env() assign(x = object, value = value, envir = env) read_object_environment(object, env)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.