Move the bound variables from one environment into another.

copy_env(from, to, names = ls(from, all.names = TRUE))

Arguments

from

The environment we want to copy from.

to

The environment where we want to bind the variables.

names

Names of the variables to copy. By default, all of them.