[R] Line numbers in error messages

Thomas Lumley tlumley at u.washington.edu
Tue Apr 13 01:04:25 CEST 2004


On Tue, 13 Apr 2004, Jason Turner wrote:

> Webb Sprague wrote:
> > I already use ESS.  If it would give line numbers, my life would be
> > perfect!
>
> It does, if you don't use source().  Have your R code in one buffer, and
> the R session running, and (from the code buffer), type C-c C-l.
>

Yes, yes, very nice. But if the error is inside a function (and isn't a
syntax error) then this will only give you the line where the function was
called.


	-thomas




More information about the R-help mailing list