[R] Line numbers in error messages
Uwe Ligges
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".
Uwe Ligges
> Feel free to cc me as I subscribe to the list in digest.
>
> Thanks
> W
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
More information about the R-help
mailing list