environment(fun = NULL) environment(fun) <- value is.environment(obj) .GlobalEnv
fun
|
a function or NULL , which is the default.
|
fun
is a function then environment(fun)
returns the environment associated with that function.
If fun
is NULL
then the global environment, .GlobalEnv
,
is returned.
The assignment form sets the environment of the function fun
to the value
given. is.environment(obj)
returns TRUE
iff obj
is an environment
.
envir
argument of eval
.