inst/doc/downloadablePlot-module.R

## ----eval=F-------------------------------------------------------------------
# # Inside ui_body.R or ui_sidebar.R
# 
# downloadablePlotUI(id                 = "object_id1",
#                    downloadtypes      = c("png", "csv"),
#                    download_hovertext = "Download the plot and data here!",
#                    height             = "500px",
#                    btn_halign         = "left")

## ----eval = F-----------------------------------------------------------------
# # Inside server_local.R
# 
# downloadablePlot(id           = "object_id1",
#                  logger       = ss_userAction.Log,
#                  filenameroot = "mydownload1",
#                  aspectratio  = 1.33,
#                  downloadfxns = list(png = myplotfxn,
#                                      tsv = mydatafxn),
#                  visibleplot  = myplotfxn)
# 

Try the periscope2 package in your browser

Any scripts or data that you put into this service are public.

periscope2 documentation built on April 15, 2025, 1:24 a.m.