Timur Elzhov <[EMAIL PROTECTED]> writes:

> Second, who pass the other, `call', `op' and `rho' parameters
>   to `do_optim() ?'

You mean "why" I suppose.

op: Some functions are mapped into the same C function (do_math2, for
example) so you need to know which one.

call: The whole call is passed mainly for the benefit of error
printouts. It is not always possible to reconstruct it from the other
arguments, since "op" may be computed as in get("+")(2,2).

rho: this is the evaluation environment, and it is crucial for
variable lookup etc.

-- 
   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
http://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to