Re: [R] "go" or "goto" command

From: Peter Dalgaard <>
Date: Wed 10 Jan 2007 - 20:28:23 GMT

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. mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Thu Jan 11 07:35:01 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 10 Jan 2007 - 21:30:25 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.