I'm trying to knit an R Markdown document into an HTML file. The file includes a plotly graph. When the plotly graph was generated from the R Markdown document it shows correctly.
Unfortunately, given the internal workflow of the team we decided to create the file in Python with plotly, upload it to our blob storage in Azure and from there generate an iframe in our report. We thought it was going to be a piece of cake, because we had already created some iframe plots that way in our webpage, but maybe we underestimated it.
I've read all of this posts: link1, link2, link3 ,link 4, but they don't seem to work with my link. They work fine in embedding our webpage for example.
You need to install the last dev version of knitr (which will 1.34 on CRAN very soon) to use knitr::include_url() so that it will add the correct attributes for you.
Using last dev version of knitr install from Github, this works for me.