Re: [R] "Goto" loop

From: Barry Rowlingson <b.rowlingson_at_lancaster.ac.uk>
Date: Fri, 31 Oct 2008 16:54:59 +0000

2008/10/31 Peter Dalgaard <P.Dalgaard_at_biostat.ku.dk>:

> 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
> http://en.wikipedia.org/wiki/Edsger_W._Dijkstra .)

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

http://xkcd.com/292/

Barry



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html 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 https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive