[R] browser() can not stop the execution

2009-11-15 Thread chao83
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

Re: [R] browser() can not stop the execution

2009-11-15 Thread jim holtman
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