Get the URL of the htmlwidgets widget in RStudio viewer panel
I have a package for making interactive plots using htmlwidgets
and I would like to expose some of the client-side state so that e.g. the user can highlight some data points and then call a function in R to get the corresponding row indices.
HTML widgets no longer rendering in R Studio Viewer pane after update to R 4.4.0
After updating to R 4.4.0, many different data visualizations that depend on the htmlwidgets
library, such as leaflet
, echarts4r
and highcharter
, fail to render in the R Studio Viewer pane. These visualizations do show up in the Viewer pane if I instead use my previous installation of R 4.3.3. I’m assuming that htmlwidgets
is the source of the issue, as RMarkdown and Quarto document previews show up without an issue in the Viewer pane, but I could be wrong.