Closed mbojan closed 8 years ago
It seems that Rmd file doesn't have an access to R files and libraries. If you add all the libraries in the code chunk and set Output format to Shiny HTML embedding works OK (at least on Mac).
You can also embed plots, for example:
```{r, echo=FALSE}
library(d3net)
library(igraphdata)
data(karate)
d3net(karate)
.``` (dot added so that it doesn't disappear)
Works indeed. I forgot to set runtime: shiny
... :P
See http://rmarkdown.rstudio.com/authoring_embedded_shiny.html Calling
d3net
in code chunk does not seem to work.