Skip to content

Reuse cached results #171

Answered by jmbuhr
DanielHermosilla asked this question in Q&A
Discussion options

You must be logged in to vote

This is more of a general Quarto question rather than Neovim specific, but maybe I can help. Firstly, here are the docs for Quarto on caching: https://quarto.org/docs/computations/caching.html

But this doesn't really solve your question, because caching for python code via jupyter cache is an all or nothing type of thing. If just one code chunk changes, all cells will be recomputed (for R it is different, there each cell has its own cache).

However, three things will be interesting to you:

  1. If your document is an ipynb file, not a plain text qmd/quarto file, Quarto will not re-rexecute the code by default and use the output recorded in the ipynb file
  2. You can use https://github.com/GCBalle…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@DanielHermosilla
Comment options

Answer selected by jmbuhr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants