You have to explicitly load your libraries in your Rmd file, try adding library(ggplot2) before calling the ggplot() function.
library(ggplot2)
ggplot()
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.