[R] How to know the current line number in browser()?

Duncan Murdoch murdoch at stats.uwo.ca
Tue Sep 15 20:10:39 CEST 2009


On 9/15/2009 10:43 AM, Peng Yu wrote:
> Hi,
> 
> I tried the command 'where' in browser(). But it does not give me the
> current line number (or the content of the current line). Is there a
> command for this?

That is not supported in released versions of R, but it's in R-devel 
(which will become R 2.10.0 sometime next month).

Duncan Murdoch




More information about the R-help mailing list