Gets the name of an environment
Gets the name of an environment, e.g. "R_GlobalEnv"
or "0x01ddd060"
.
## S3 method for class 'environment' getName(env, ...)
env |
An |
... |
Not used. |
Returns a character
string.
Henrik Bengtsson
name <- getName(globalenv()) print(name) stopifnot(identical(name, "R_GlobalEnv")) getName(new.env())
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.