I haven't been able to embed plotly in the document, partly because the knowledgerepo includes an incompatible version of JQuery.
A possible solution would be a function that wraps an htmlwidget (like a result of ggplotly) and turns it into an iframe with a srcdoc containing that HTML, and with the necessary JavaScript headers included.
I haven't been able to embed plotly in the document, partly because the knowledgerepo includes an incompatible version of JQuery.
A possible solution would be a function that wraps an htmlwidget (like a result of
ggplotly
) and turns it into an iframe with a srcdoc containing that HTML, and with the necessary JavaScript headers included.