[R] what's the meaning of these in R-lang?

ronggui 042045003 at fudan.edu.cn
Thu Nov 24 13:01:53 CET 2005


In this case the environment contains the variables local to the function, and its enclosure is the environment of the enclosing function.(R-lang:p11)

I want to know if the "enclosing function" means the closure of the function? for example ,if I call function mean(),and the create an environment,say e1,then the enclosure of e1 is the namespace of base package? Right?

Thank you!




More information about the R-help mailing list