Skip to main content

All Questions

Tagged with
1 vote
2 answers
89 views

Insert image (file or R object) into existing html file from R script

I include two ggplotly() graphics in a html file, eg. library(ggplot2) library(plotly) library(htmltools) g1 <- ggplot(data=data.frame(x=1:10, y=1:10)) + geom_point(aes(x=x, y=y)) g2 <- ...
user2955884's user avatar
3 votes
1 answer
504 views

How to to insert R (interactive or not) graphics in the tooltips of a ggiraph?

I'd like ultimately to insert R (interactive or not) graphics in the tooltips of a ggiraph. Using an iframe as I successfully did before with leaflet, it would look like this: library(ggplot2) library(...
doana's user avatar
  • 65
1 vote
1 answer
447 views

Changing table line borders to something similar to kable LaTeX

I have the following table and I would like to know if there is any way to change the table format in a way that the separator lines can not only be displayed horizontally, but as a cell grid just as ...
JK Lambert's user avatar
11 votes
4 answers
12k views

How to store r ggplot graph as html code snippet

I am creating an html document by creating various objects with ggplotly() and htmltools functions like h3() and html(). Then I submit them as a list to htmltools::save_html() to create an html file. ...
user3799203's user avatar