Replies: 1 comment
-
I am not sure to understand what you are talking about, i.e., the "global environment" thing. If you were loading data into R then relying on the fact that This being said, you can cache/freeze results: https://quarto.org/docs/projects/code-execution.html#cache You can also use R packages |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I am writing a report containing very data heavy analyses. Thus, when I want to render the pdf in quarto, I do not want to have to execute all code chunks every time, otherwise, it will take a day to render the document. Rmarkdown can use variables stored in the global environment, eliminating the need to execute the analysis code chunks every time I want to render the pdf to check that the format is alright. How can I get quarto to do the same? It seems quarto is set up to always initiate a new session in which it renders the document, which means, it cannot pull the variables stored in the global environment, which is quite a nuisance. Are there any workarounds for quarto?
Beta Was this translation helpful? Give feedback.
All reactions