View source: R/utils_environments_namespaces.R
assign_global | R Documentation |
Assign an object to the global environment
assign_global(x, nm = rlang::expr_deparse(rlang::enexpr(x)), env = .GlobalEnv)
x |
|
nm |
|
x
Other namespaces:
assign_in_ns()
,
get_from_ns()
,
get_global()
,
pkg_ns()
,
unload_namespaces()
assign_global(FALSE, "test")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.