# R version of 99 Bottles of beer (Bottles.r) # Philipp Winterberg, http://www.philipp-winterberg.de for (b in 99:1){ print(b) print(" bottle(s) of beer on the wall,") print(b) print(" bottle(s) of beer.") print("Take one down, pass it around,") print(b-1) print(" bottle(s) of beer on the wall.") print("") }