copy.env: Copy from one environment to another

View source: R/env.R

copy.envR Documentation

Copy from one environment to another

Description

Performs only shallow copy; does not recurse when a name pairs with a sub-environment.

Usage

copy.env(
  from.envir,
  to.pos = -1L,
  to.envir = as.environment(to.pos),
  all.names = FALSE
)

Arguments

from.envir

Environment to copy from

to.pos

-1L for the calling environment

to.envir

Environment to copy to

all.names

logical; TRUE for all names copied, including those beginning with . otherwise omitted


royratcliffe/canny.tudor documentation built on Oct. 17, 2022, 4:17 a.m.