R: Backwards for loop

1
2
3
for (i in 10:1) {
	print(i)
}

As easy as that.

Tags:

Leave a comment