OptionalbuiltBuilt-in environment that must not change; only for the top-most envs.
OptionalcacheOptionalglobalmarks the global environment (.GlobalEnv); attached packages (see EnvType) live below it
ReadonlyidUnique internally generated identifier, used for debugging not comparison
Maps to exactly one definition of an identifier if the source is known, otherwise to a list of all possible definitions
OptionalnOptional name for namespaced/non-anonymous environments, please only set if you know what you are doing
Lexical parent of the environment, if any (can be manipulated by R code)
Optionaltwhich search-path layer this env is (package/namespace/imports), if any
Provides the closure linked to this environment.
This environment's memory, ready to be written to. Every in-place write must go through this rather than through memory directly, as clone hands the map itself to the clone and only the first writer of either side copies it (copy-on-write).
Adds all writes of other to this environment (other's operations might happen). Always recurses parents.
Marks this as the global environment (.GlobalEnv); see globalEnv.
Create a clone of this environment.
The clone shares this environment's memory until either side writes to it (see writableMemory); cloning a frame is therefore independent of how many definitions it holds, which matters because attached packages contribute frames with thousands of them.
Whether to also clone parent environments
Define a new identifier definition within this environment.
The definition to add.
Define several identifiers at once in a more performant fashion.
The definitions to add.
Definitions within other replace those here by name; if all of other's are maybe, they are appended instead (turning existing ones maybe too), like appendEnvironment. Always recurses parents.
OptionalapplyCds: readonly ControlDependency[]
See
REnvironmentInformation