install.packages("ggplot2") library(ggplot2) server = function(input, output, session){ output$trend = renderPlot({ ggplot() }) }