> Thankyou, but i *donot* want the R session to quit.
> Someone suggested writing functions with return kept at
> the locations.
> I wanted to ask if there was another way.
> 
Just have a single
}
as your last line, and put:
if (FALSE) {
just after where you want to stop.
Ray Brownrigg