copy.into.env: Copies all members of a list or environment into an...

View source: R/restorepoint.R

copy.into.envR Documentation

Copies all members of a list or environment into an environment

Description

Copies all members of a list or environment into an environment

Usage

copy.into.env(source = sys.frame(sys.parent(1)),
  dest = sys.frame(sys.parent(1)), names = NULL, exclude = NULL,
  from.restore.objects = FALSE, overwrite = TRUE, all.names = TRUE)

Arguments

source

a list or environment from which objects are copied

dest

the environment into which objects are copied

names

optionally a vector of names that shall be copied. If null all objects are copied

exclude

optionally a vector of names that shall not be copied

from.restore.objects

internal paramater keep FALSE

overwrite

should existing objects in dest with same name be overwritten?

all.names

if TRUE copy all objects if names=NULL, if FALSE omit variables starting with .


skranz/restorepoint documentation built on June 30, 2024, 11:13 p.m.