How are you executing your script? Are you doing a cut/paste into the
command window? On WIndows using Tinn-R, this procedure will invoke
'browser' and it will then continue to read the rest of the script
since it is coming from the standard input. The way around it is to
put the script in a file and then 'source' it. Try this and report
back.
On Sun, Nov 15, 2009 at 1:22 AM, chao83 <chaohan1983 at yahoo.com>
wrote:>
> I need to use browser() to stop a while loop to input some value for the
> loop. But the browser() just will not stop until the last line of the code.
> Does anyone know the possible reason? I use ggobi in the loop, and open a
> few ggobi windows before the browser(), will that be the reason?
>
> Thanks A LOT!
> --
> View this message in context:
http://old.nabble.com/browser%28%29-can-not-stop-the-execution-tp26356069p26356069.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at 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.
>
--
Jim Holtman
Cincinnati, OH
+1 513 646 9390
What is the problem that you are trying to solve?