powered by
Gets the name of an environment, e.g. "R_GlobalEnv" or "0x01ddd060".
"R_GlobalEnv"
"0x01ddd060"
# S3 method for environment getName(env, ...)
An environment.
environment
Not used.
Returns a character string.
character
environmentName().
environmentName()
# NOT RUN { name <- getName(globalenv()) print(name) stopifnot(identical(name, "R_GlobalEnv")) getName(new.env()) # }
Run the code above in your browser using DataLab