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 Posit cheatsheets on Advanced R.

Figure 11.5: Summary on functions from the Posit cheatsheets on Advanced R.


Abelson, H., Sussman, G. J., & Sussman, J. (1996). Structure and interpretation of computer programs (2nd ed.). Retrieved from https://mitpress.mit.edu/sites/default/files/sicp/
Hunt, A., & Thomas, D. (1999). The pragmatic programmer: From journeyman to master. Addison-Wesley.
Knuth, D. E. (1968). The art of computer programming: Fundamental algorithms (Vol. 1). Retrieved from https://cs.stanford.edu/~knuth/taocp.html
Wickham, H. (2014a). Advanced R (1st ed.). Retrieved from http://adv-r.had.co.nz/
Wickham, H. (2019a). Advanced R (2nd ed.). Retrieved from https://adv-r.hadley.nz/
Wickham, H., & Grolemund, G. (2017). R for data science: Import, tidy, transform, visualize, and model data. Retrieved from http://r4ds.had.co.nz

  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.↩︎