[R] Some Programming Humor
i.wilson at maths.abdn.ac.uk
Wed May 14 12:39:37 CEST 2003
Douglas Bates wrote:
> Douglas Bates <bates at cs.wisc.edu> writes:
>>I checked and R is one of the 515 languages mentioned in the enclosed.
Very nice. But where's the S version? :)
The "R" version used a loop - so it could not really be called S ;)
cat(paste(n <- 99:1,a <- "bottles of beer",b <- "on the wall,\n"
,n,a,"take one down, pass it around,\n",n-1,a,b,"\n"))
More information about the R-help