4.5 - Common Problems While Using Knitr

Errors can pop up with surprising frequency when compiling documents. Here we explore the most common cause of these errors - calling variables that haven't been defined - and explain how to avoid them - (spoiler alert) - writing all your code in the editor and running it from there before compiling will prevent almost all errors. Note that for this and all subsequent assignments only html and pdf documents will be accepted for homework.