Skip to content
Discussion options

You must be logged in to vote

It's the idea of reproducible documents that the code be run when the document is rendered. But for lengthy computations you can store results using the cache mechanism.

If you've run the code manually and stored the results, e.g as .rds files, and don't want to re-run it even once in Quarto (with cache enabled), you may have to load the .rds manually in your code, e.g

if(file.exists("myresults.rds"))
  results = readRDS("myresults.rds")

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rogerio-bio
Comment options

Answer selected by cderv
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