11.8 Resources

This section provides links to various resources on writing functions in R and computer programming in general.

11.8.1 More about functions

For more details on R functions:

Summary on functions from the RStudio cheatsheet on Advanced R.

Figure 11.5: Summary on functions from the RStudio cheatsheet on Advanced R.


  1. Fun fact: One of the collateral projects of TAOCP that pre-occupied the author for years was the development of a typesetting system that was able to present mathematical expressions and computer code in aesthetically pleasing form. This side-project developed into the TeX system (see Wikipedia: TeX/LaTeX for details), which is still the de facto standard in many sciences today.↩︎

  2. This book is originally from 1984 and uses the Lisp dialect Scheme. If this seems obscure, note that SICP is widely known as “the wizard book” or “the purple book,” and was used to teach many generations of MIT students into the realms of computer science.↩︎