Output and render functions for using gosling() within Shiny applications
and interactive R Markdown / Quarto documents.
Usage
goslingOutput(output_id, width = "100%", height = "480px")
renderGosling(expr, env = parent.frame(), quoted = FALSE)Arguments
- output_id
Output variable to read from.
- width, height
Element size, passed to
htmlwidgets::shinyWidgetOutput().- expr
An expression that generates a
gosling()widget.- env
The environment in which to evaluate
expr.- quoted
Is
expralready quoted? Defaults toFALSE.