Jacques VESLOT <[EMAIL PROTECTED]> writes:

> Hi,
> 
> I got the following error message when running a function of mine doing 
> intensive computations:
> Erreur dans .Call("R_lazyLoadDBfetch", key, file, compressed, hook, PACKAGE = 
> "base") :
>          référence d'argument par défaut récursive
> 
> I haven't found neither where the problem lies nor what could be recursive.
> 
> Besides, I wonder whether it might or not be a problem of memory size.
> 
> Could you please give me any suggestion on how to interpret this message?

The prototypical situation is this

> f<-function(a=a)a
> f(2)
[1] 2
> f()
Error in f() : recursive default argument reference

The default for argument a ends up needing the value of a. This can
also happens more indirectly when multiple arguments refer to
eachother. 

BTW: Is that error message proper French? Should it not be

référence récursive d'argument par défaut 

or so.

-- 
   O__  ---- Peter Dalgaard             Øster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - ([EMAIL PROTECTED])                  FAX: (+45) 35327907

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to