Access to knitr cache

Alastair Rushworth had the answer: what’s the easiest way to access the knitr cache? It turns out all we need is the lazyLoad() function, and of course some detective work to find the right cache (but you’re labelling your chunks, aren’t you?).

So: lazyLoad("name-of-that-cached-rdx-file-in-the-cache"), and note that there is no file extension here…