Rstudio will not knit. I have been using it for a few weeks in a course.
When I try to knit it executes until it comes to some code and it stops. The code is
Please load the package in the document (R Markdown? You didn't say) before you use any functions in it, e.g., library(ggplot2).
library(ggplot2)