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.

Examples

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