Thursday, August 06, 2009

CacheSweave

I finally figured out how to use the R package "cachesweave". The trick is that the code chunks must follow some order, like the following:
-----------------------------------------------------------
<setup>=
setCacheDir("testcache")
@

<first>=
library(Zelig)
library(memisc)
@
...
------------------------------------------------------------

No comments:

Counter