I'm working on a long project that involves lots of testing of data. I'd really like a log or workbook of my progress, that can just display relevant plots, tables, test statistics, etc. The code chunks to generate it make the whole doc very cumbersome and I'm wondering if it's possible to just see the output in a working fashion.
extra rationale: Some functions take time to run. By the time I have a knitted doc with the results of 50 function calls, this could take minutes to run at the start of each session, just to get me back up to speed.
Fernando Flores
Data science, software development and engineering.
Hi Alex,
I think that, given that the report will be just chunks of info generated incrementally every day or so, instead of writing a whole
.Rmdfile perhaps you can useknitr::spinto generate the output from an.Rscript. You can find more info on this post: deanattali.com/2015/03/24/knitrs-best-hidden-gem-…On the other hand, take a look at knitr's
cacheoption: yihui.name/knitr/options which allows you to save the result of computed chunks and avoiding the re-execution every time you knit the document. The downside of this approach is that you have to be very careful about what things are cached or not, because it can cascade out-of-date results to other chunks along the way. Please handle with care!Hope this helps.