"Gabor Grothendieck" <[EMAIL PROTECTED]> writes:

> S uses dynamic scoping, i.e. the parent environment in a function 
> is the environment at the point where the function is *called*.

Not really. The parent env. in S (or should I say: the other
implementation of S) is essentially the global environment only.
Actually, a little more complex since S operates with an "expression
frame" which is kind of sandwiched in between the function frame and
the global frame. However you don't have automatic access to the
variables of the caller as you would have in dynamic scoping. 

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - ([EMAIL PROTECTED])             FAX: (+45) 35327907

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to