yihui/knitr — Issue #160: cache side effects of library()
Author: yihui
Created: 2012-03-02 22:26:39+00:00
State: open
Labels: Feature

it is inefficient to have to `library()` packages in an uncached chunk because this may take quite a few seconds for some packages; for cached chunks, we'd better also cache the current list of packages loaded, so next time when the cache is to be rebuilt, these packages are loaded automatically; this will give us much better user experience