[R] Line numbers in error messages
ligges at statistik.uni-dortmund.de
Mon Apr 12 22:58:21 CEST 2004
Webb Sprague wrote:
> Hi all,
> I have searched but to know avail. Is there a way to get a line number
> when a function crashes? I am doing an edit->source->run cycle.
I don't think so, but traceback(), debug() and options(error = recover)
are your friends.
Also, you might want to check out the CRAN package "debug".
> Feel free to cc me as I subscribe to the list in digest.
> R-help at stat.math.ethz.ch mailing list
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
More information about the R-help