[R] get the bug context

From: Luke <jyzz88_at_gmail.com>
Date: Mon 30 May 2005 - 05:15:02 EST


Hi R-users,

How to get a bug contex?

My R code ran there for several hours, but a bug crashed it, printing such message like "Error: subscript out of bounds". I want to use browser() to catch the bug, but I don't know which loop caused the bug (there are many loops in the code). I even don't know which line of code caused the bug. Is there any utility or something in R which can let you know which line of code causes a bug?

Thanks,

-Luke



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 Received on Mon May 30 05:21:53 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:15 EST