getName.environment | R Documentation |
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
environmentName()
.
name <- getName(globalenv())
print(name)
stopifnot(identical(name, "R_GlobalEnv"))
getName(new.env())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.