Copy objects from one environment to another
Copy objects from one environment to another
copyEnv(from, to, names = ls(from, all.names = TRUE))
from |
source environment |
to |
target environment |
names |
names of objects to copy |
Neal Fultz
e1 <- list2env(list(a=1, b=2)) e2 <- new.env() copyEnv(e1,e2) ls(e2)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.