toEnv {datastepr} | R Documentation |
A function to coerce an object to a list and append the list to an environment
toEnv(object, environment)
object |
An object which can be coerced to a list (e.g. an environment) |
environment |
An environment |
An appended environment
toEnv(data.frame(a = 1, b = 2), environment()) toEnv(list(a = 1, b = 2), environment()) toEnv(environment(), new.env())