Hi,

I'm running R 2.10 on a Linux console, inserted a call to browser() in an R
script that I source() form the R command line.  Two quick questions:

(1) Once you are in the "browser prompt," is there any way to display the
current/next line to be executed without executing it?  I can issue an "n"
command to view the line, but was wondering if there's a simple "display
current line" command to view the source code before I execute it.

(2) Is there any way to exit the browser() prompt to go back to the R prompt
without typing "c" to continue execution?  I tried using Ctl-C, but this
stays within the browser.

I searched for other posts on these but couldn't find anything.

Thanks!
-- 
View this message in context: 
http://n4.nabble.com/How-To-Display-Current-Next-Line-Using-browser-tp1586434p1586434.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@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.

Reply via email to