Rstudio could not find function ggplot by install.packages("ggplot2") library(ggplot2) server = function(input, output, session){ output$trend = renderPlot({ ggplot() }) }install.packages("ggplot2") library(ggplot2) server = function(input, output, session){ output$trend = renderPlot({ ggplot() }) } Please Share