Assign multiple objects into a new environment

multiassignAsEnvir(..., envirName, parentFrame = parent.frame())

Arguments

...

Objects as dots.

envirName

character(1). Name of the new environment to create.

parentFrame

environment. Parent environment where to assign the new environment, specified by envirName argument.

Value

character. Object names defined in the new environment.

Note

Updated 2019-07-28.

Examples

data(data.frame, matrix, package = "acidtest") multiassignAsEnvir(data.frame, matrix, envirName = "example")
#> Assigning data.frame, matrix as example.
class(example)
#> [1] "environment"
ls(example)
#> [1] "data.frame" "matrix"