reecer118 I have a student who is running the code in 1.3. When they run the provided code example_dat <- select(dat, name, median_debt, ownership, admit_rate, hbcu) head (examle_dat) They are getting the following error. Error in select(dat, name, median_debt, ownership, admit_rate, hbcu): could not find function "select" Traceback:
dylarm reecer118 Make sure that they run all of the code boxes before that one. Every time the notebook is opened, every code box needs to be re-run.
dashiell-young-saver To add to @dylarm's response, when student's re-open the notebook, they'll need to re-run the library(coursekata) command. That command downloads functions like select (hence, the error message). So, as @dylarm said, best practice is to re-run the whole notebook top-to-bottom (to wherever you're at) each time you open it fresh. To make this faster, try running the cells by holding Shift and clicking Enter. That runs the cell and proceeds your cursor to the next cell, so you can repeat quickly to go through the notebook.
dylarm Also if they're already in their current cell, they can go to the Cell menu and choose "Run All Above" to just run the stuff they need. (I know this is a year old, just adding some extra info before closing)