I an using R
to draw heatmap. Heatmaply
and htmlwidget
were installed. Fox example i exec following code:
library("htmlwidgets")
library("heatmaply")
heatmaply(mtcars) %>% saveWidget(file="test.html")
This always generate a test.html file and a test_files folder, but i want the test.html only. I try saveWidget(file="test.html",,selfcontained=TRUE)
. This just place the js library in the test.html, making test.html too big.