yihui/knitr — Issue #20: Specifying a cache directory
Author: halpo
Created: 2011-11-23 20:31:27+00:00
State: open

Related to the prefix.string alluded to in issue #19 I see no way to specify a cache directory. with both cacheSweave and pgfSweave this is accomplished by `setCacheDir("cache")`. This fails on knitr. This is useful for easing cleanup with a makefile as well as keeping a directory clean as well. It could possibly be specified as a global option like in issue #19.