Part by Part Knitting (if it's possible)

Hi, i wanna know if it's possible to save (i don't really know how to say :joy:) "a chunk execution" so when i have to knit the whole document, i don't have to run all my code a second time, because especially when i run long algorithms it's so annoying!
Thank you for help!

Hi @Federico11

Yes, you can cache a chunk so that it won't be re-ran each time you knit (unless something changes in that chunk). For example:

```{r cache = TRUE}
# slow code here
1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.