ggiraph htmlwidgets with bookdown and new_session = yes
问题 This seems related to to rstudio/bookdown#15 but I haven't been able to figure pin it down. The example is here but the offending code is p2 <- ggplot(mtcars, aes(x = disp, y = mpg)) + geom_point_interactive(aes(tooltip = car)) ggiraph(code = print(p2)) and my bookdown.yml has new_session: yes . Other htmlwidgets do work. ```r p2 <- ggplot(mtcars, aes(x = disp, y = mpg)) + geom_point_interactive(aes(tooltip = car)) ggiraph(code = print(p2)) ``` Session info: $ R R version 3.3.3 (2017-03-06) -