Nothing
# ==== Fungsi umum untuk download plot ====
make_download_plot <- function(plot_reactive, filename_prefix) {
downloadHandler(
filename = function() {
paste0(filename_prefix, "_", Sys.Date(), ".png")
},
content = function(file) {
ggsave(file, plot = plot_reactive(), width = 8, height = 5, dpi = 300)
}
)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.