Use this function in the server part of your Shiny app.
renderVegawidget(expr, env = parent.frame(), quoted = FALSE)
expression that generates a vegawidget. This can be
a vegawidget
or a vegaspec
.
The environment in which to evaluate expr
.
Is expr
a quoted expression (with quote()
)? This
is useful if you want to save an expression in a variable.