Re: [R] pgfSweave doesn't lazyload my objects

2012-02-02 Thread Yihui Xie
I can reproduce it but I do not know why this happens. FWIW, I tried the knitr package and it worked well except that you have to write cache=TRUE or FALSE instead of true/false. library(knitr) knit('test_pgf.Rnw') Regards, Yihui -- Yihui Xie Phone: 515-294-2465 Web: http://yihui.name Departmen

[R] pgfSweave doesn't lazyload my objects

2012-02-02 Thread Ludo Pagie
Hi all, I'm struggling a bit to get pgfSweave to lazyload objects when compiling a .Rnw file for a second time. Caching works fine except that for every run all objects get cached again and again. I've used cacheSweave which works fine; all cached objects from code-chunks with option cache = T