Short lecture about functional programming in R