This is related to https://github.com/rstudio/rstudio/pull/12048 which plays with the idea of printing html widgets directly in the ide console, similarly to how it's done in the viewer: render the html in some temporary directory that can be served by the help server, and then <iframe> that. The difference is that the <iframe> would go to the console.
This would allow to print richer things in the console, beyond text. An initial use case is https://github.com/r-lib/rlang/issues/1440 but we could easily imagine other things: embedding a DT table right there in the console, ...
This is related to https://github.com/rstudio/rstudio/pull/12048 which plays with the idea of printing html widgets directly in the ide console, similarly to how it's done in the viewer: render the html in some temporary directory that can be served by the help server, and then
<iframe>
that. The difference is that the<iframe>
would go to the console.This would allow to print richer things in the console, beyond text. An initial use case is https://github.com/r-lib/rlang/issues/1440 but we could easily imagine other things: embedding a
DT
table right there in the console, ...https://github.com/rstudio/rstudio/pull/12048 (still wip) takes care of the ide side, but I think we'd need something here too. I'll prepare a simple pr for further discussion.