. dygraph , RStudio.
, github:
R- script (, myscript.R) (, d1 d2).
d1 = dygraph(ldeaths, main = "All", group = "lung-deaths")
d2 = dygraph(mdeaths, main = "Male", group = "lung-deaths")
R-markdown, source() R- script .
{r, echo=FALSE}
source("myscript.R")
d1
d2
, R-markdown html (Kint to html). echo=FALSE, - html- .