yihui/knitr — Issue #65: more general framework for R code management
Author: yihui
Created: 2011-12-17 19:34:02+00:00
State: open
Labels: Feature

we can use a list to manage R code, which can be dynamically modified and accessed;

pull option `ref` out of chunks; like themes, we can call a separate function to parse external code and add to the code "boss", so the code chunks can be re-used easily (in comparison, if we make `ref` a chunk-level option, we have to read the external script for multiple times)