powered by
Load a list in an environment
load_list(x, env = parent.frame(), remove = TRUE)
nothing, called for its side-effect
a list
the environment onto which the list should be loaded
if TRUE, x will be removed from the environment afterward
TRUE
x
x=list(a=1, b=mtcars) load_list(x, remove=FALSE) print(a) print(nrow(b))
Run the code above in your browser using DataLab