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
vegawidget or a
The environment in which to evaluate
expr a quoted expression (with
is useful if you want to save an expression in a variable.