toEnv: Append an object to an environment

Description Usage Arguments Value Examples

View source: R/datastepr.R

Description

A function to coerce an object to a list and append the list to an environment

Usage

1
toEnv(object, environment)

Arguments

object

An object which can be coerced to a list (e.g. an environment)

environment

An environment

Value

An appended environment

Examples

1
2
3
toEnv(data.frame(a = 1, b = 2), environment())
toEnv(list(a = 1, b = 2), environment())
toEnv(environment(), new.env())

datastepr documentation built on May 29, 2017, 5:08 p.m.