[R] "go" or "goto" command

Peter Dalgaard p.dalgaard at biostat.ku.dk
Wed Jan 10 21:28:23 CET 2007


Thomas L Jones wrote:
> Some computer languages, including C, have a "go" or "go to" command 
> which can be used to shift control to a different part of a function.
>
> Question: Does the R language have a corresponding command? (Yes, I am 
> aware that it can be abused; but, in the hands of a good programmer, 
> it is simple to use.)
>   
Nope. Only break, next, and return.



More information about the R-help mailing list