How to quarto_render into console environment #1773
-
I want quarto::quarto_render() to use the console environment for execution, as rmarkdown::render() does. I have tried the debug=TRUE, execute_debug=TRUE, and as_job=FALSE/TRUE options. After rendering a document, I want to inspect and use the objects in the console environment for further development. I don't want to have to use the RStudio GUI to "run all" code chunks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
There isn't a direct path to the R environment from You can however call the |
Beta Was this translation helpful? Give feedback.
There isn't a direct path to the R environment from
quarto::quarto_render()
as its invoking an executable which in turn invokes R (this differs fromrmarkdown::render()
which does everything in R natively).You can however call the
knitr::purl()
function on your qmd to extract all of the code into a .R script and proceed from there.