R is a Functional Programming Language

A write-up by Hadley Wickham shows the aspects of Functional Programming in R. It’s a great article for understanding both R and using functions as the core of operations in R. Three building blocks are explained:

 1. Anonymous functions

 2. Closures (functions written by functions)

 3. Lists of functions.