As my students have been working through the notebooks, they have been asking me questions about errors that often boil down to one of two categories: function not found errors and object not found errors. I've started posting the following information on my board during class while students work:
- function not found
- This means R does not understand the function you are attempting to use: the f of f(x).
- Re-run the command library(coursekata) at the top of the notebook.
- object not found
- This means there is a problem where you originally defined the object you are attempting to use: the x of f(x)
- Objects are defined using <-
- Find that notation and re-run the command or check the definition for problems.