Automatically discovers tabular datasets in the user's active environment and launches the Sideview interactive multi-table canvas gadget.
Usage
sideview_addin(
env = .GlobalEnv,
viewer = if (requireNamespace("rstudioapi", quietly = TRUE) &&
rstudioapi::isAvailable()) {
shiny::dialogViewer("Sideview Canvas", width =
1400, height = 900)
} else {
shiny::paneViewer(minHeight = 500)
},
run = interactive()
)Arguments
- env
Environment to search for tables, and where Run in R stores its result (defaults to
.GlobalEnv, where RStudio addins run).- viewer
Shiny viewer gadget display mode, or character shorthand (
"browser","dialog", or"pane"). Default isshiny::dialogViewer()(width 1400, height 900) when RStudio is available, otherwiseshiny::paneViewer().- run
Logical indicating whether to execute the gadget. Default
interactive().
