Jacques VESLOT
2006-Nov-24 15:22 UTC
[R] Error Message saying .Call("R_lazyLoadDBfetch", etc.
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? Thanks in advance, jacques ------------------------------------------------------------------- Jacques VESLOT CNRS UMR 8090 I.B.L (2?me ?tage) 1 rue du Professeur Calmette B.P. 245 59019 Lille Cedex Tel : 33 (0)3.20.87.10.44 Fax : 33 (0)3.20.87.10.31 http://www-good.ibl.fr
Peter Dalgaard
2006-Nov-24 16:54 UTC
[R] Error Message saying .Call("R_lazyLoadDBfetch", etc.
Jacques VESLOT <jacques.veslot at good.ibl.fr> 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 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907