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

0 views
Skip to first unread message

Peng Yu

unread,
Sep 15, 2009, 10:43:49 AM9/15/09
to r-h...@stat.math.ethz.ch
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?

Regards,
Peng

______________________________________________
R-h...@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Duncan Murdoch

unread,
Sep 15, 2009, 2:10:39 PM9/15/09
to Peng Yu, r-h...@stat.math.ethz.ch
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

Reply all
Reply to author
Forward
0 new messages