Description Usage Arguments Details Value Examples
Render a list of htmlWidgets using various tricks
1 | renderHtmlWidgetList(widgetList, renderFunction)
|
widgetList |
A list of htmlWidget objects to be rendered |
renderFunction |
The function to render individual widgets. It can be either a name of the rendering function, e.g., "render_graph" in DiagrammeR, or the actual function to be passed to this call. |
This is a collection of various tricks. See the URL citations in the code. Note that this code does alliterate global variables starting with "renderHtmlWidgetList_". You may want to delete them using rm(list = ls(pattern="renderHtmlWidgetList_*")).
The knitted string. This is to be included in the output by using 'r renderHtmlWidgetList(...)';
1 2 | Inlcude the following in the Rmd directly
`r require(DiagrammeR); renderHtmlWidgetList(grfDf$graph, render_graph)`
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.