Hi! I'm new to R and was trying to render my notebook when this error message came up.
Error in ggplot(Ad, aes(x=TV, y=sales)) : could not find the function "ggplot" Calls: ... handle -> withCallingHandlers -> withVisible -> eval -> eval Execution halted
I have the package ggplot installed and the code itself works. The issue arises when i try to knit to pdf