I'm working on plotly's R package and thought it'd be neat to embed plotly graphs in the rstudio viewer via an <iframe>, but the content doesn't seem to load in the viewer:
tmp <- tempfile(fileext = ".html")
curl::curl_download("https://gist.githubusercontent.com/cpsievert/f244be845a5cd13eb4e4/raw/9c1633978da3a22ec95dcf7e3af797607bf77a82/index.html", tmp)
rstudioapi::viewer(tmp)
However, it loads for me on Chrome/Firefox:
cc @mkcor @chriddyp
I'm working on plotly's R package and thought it'd be neat to embed plotly graphs in the rstudio viewer via an
<iframe>, but the content doesn't seem to load in the viewer:However, it loads for me on Chrome/Firefox:
browseURL(tmp)cc @mkcor @chriddyp