tkplot in latex via knitr and igraph
问题 This may be a wild strange dream. I dreampt that I could put a tkplot from igraph inside a latex document via knitr . I know Yihui is know for animation stuff so I thought maybe this is possible. A google search didn't show what I was after so here's a non working attempt: \documentclass[a4paper]{scrartcl} \begin{document} <<setup, include=FALSE, cache=FALSE>>= library(igraph) @ <<network>>= edges <- structure(c("A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "A", "B", "C", "D", "E", "F",