Re: [R] "Goto" loop

From: Barry Rowlingson <>
Date: Fri, 31 Oct 2008 16:54:59 +0000

2008/10/31 Peter Dalgaard <>:

> It doesn't exist, but it can always be replaced by if() {} else {}
> constructs. (You don't usually see goto in the class of "functional
> programming languages" to which R belongs. See also
> .)

 Also see also the always wonderful xkcd comic on the subject:

Barry mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Fri 31 Oct 2008 - 16:59:55 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 31 Oct 2008 - 17:30:20 GMT.

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

list of date sections of archive