yihui/knit — Issue #3: internally compile tikz to pdf to fulfill externalization of tikz graphics
Author: yihui
Created: 2011-10-26 04:07:17+00:00
State: open

may not need the approach used pgfSweave; that is way too complicated

take a closer look at `tikz(..., standalone = TRUE)`; the key is to extract the preamble out of the source document