[R] stop further sourcing of an R file

Ray Brownrigg ray at mcs.vuw.ac.nz
Thu Nov 13 23:58:38 CET 2003


> 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




More information about the R-help mailing list