2.8 Outputs 3 - Plots, Downloads
- plotOutput() <-> renderPlot()
# PLOTS
# In UI section
plotOutput("plot", width = "400px")
# In SERVER section
output$plot <- renderPlot(plot(1:5), res = 96),
# DOWNLOADS
# downloadButton("downloadData", "Download")
# Download button;
# requires new techniques in the server function,
# so we’ll come back to that in Chapter 9.