Error in ggplot(data = mpg) : could not find function "ggplot" code example
Example: rstudio could not find function ggplot
install.packages("ggplot2")
library(ggplot2)
server = function(input, output, session){
output$trend = renderPlot({
ggplot()
})
}