[R] Line numbers in error messages

A.J. Rossini rossini at blindglobe.net
Tue Apr 13 00:33:57 CEST 2004

Uwe Ligges <ligges at statistik.uni-dortmund.de> writes:

> 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".

There is always ESS's "load-source" command (C-c C-l, if I recall

rossini at u.washington.edu            http://www.analytics.washington.edu/ 
Biomedical and Health Informatics   University of Washington
Biostatistics, SCHARP/HVTN          Fred Hutchinson Cancer Research Center
UW (Tu/Th/F): 206-616-7630 FAX=206-543-3461 | Voicemail is unreliable
FHCRC  (M/W): 206-667-7025 FAX=206-667-4812 | use Email

CONFIDENTIALITY NOTICE: This e-mail message and any attachme...{{dropped}}

More information about the R-help mailing list