Open warnes opened 8 years ago
In rmarkdown a d3heatmap only renders when is explicitly returned to the top level.
For example, in this simple Rmarkdown document, the first and third heatmaps are rendered in the html document, while the second is not.
library(d3heatmap) x <- matrix(rnorm(100), ncol=10)
d3heatmap(x)
f1 <- function(x) { d3 <- d3heatmap(x) print(d3) } f1(x)
f2 <- function(x) { d3 <- d3heatmap(x) d3 } f2(x)
output: html_document
In rmarkdown a d3heatmap only renders when is explicitly returned to the top level.
For example, in this simple Rmarkdown document, the first and third heatmaps are rendered in the html document, while the second is not.
This is displayed
This is not displayed
This is displayed