jperez@cesma.usb.ve
2000-Feb-14 21:53 UTC
[Rd] Problem with expression evaluation depth (PR#436)
Full_Name: Jose M. Perez Version: 0.99.0a OS: Linux - 2.0.38 Submission from: (NULL) (159.90.200.68) Hi, I'm having problems with the check of infinite recursion in the expression evaluation depth. The problem appears in a program with no recursions whatsoever. The layout of my program is a series of routines called by a big loop. I printed out depthsave in src/main/eval.c and it appears as there is an error popping out the length of the expression stack, R_EvalDepth, somewhere. As the loop goes, R_EvalDepth goes up and down, but in average, it alway increases. For the moments, I commented out the check with options$expression and my program finished succesfully. Any help would be appreciated. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Peter Dalgaard BSA
2000-Feb-14 22:00 UTC
[Rd] Problem with expression evaluation depth (PR#436)
jperez@cesma.usb.ve writes:> I printed out depthsave in src/main/eval.c > and it appears as there is an error popping out > the length of the expression stack, R_EvalDepth, > somewhere. As the loop goes, R_EvalDepth goes up > and down, but in average, it alway increases.Sounds nasty, but I think we need to have a code sample exhibiting the behaviour in order to investigate it. Could you try shaving your example down to something smaller which still has the problem? -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._