Skip to contents

Assign an object to the global environment

Usage

assign_global(x, nm = rlang::expr_deparse(rlang::enexpr(x)), env = .GlobalEnv)

Arguments

x

obj to assign

nm

chr vector of the object and subsets to assign

Value

x

See also

Examples

assign_global(FALSE, "test")
#> [1] FALSE