-
Notifications
You must be signed in to change notification settings - Fork 13
Description
I was frustrated with my first foray into quarto today, partly because I had unreasonable expectations using it.
My quarto document looks something like
using MyPackage
out = a_very_long_and_heavy_function()and then
lots_of_graphs(out)
even_more_graphs(out)
I was trying a workflow where I had Revise.jl running and would modify the function lots_of_graphs. Unfortunately, whenever I added a new graph, quarto would re-run a_very_long_and_heavy_function() again. I wanted to change what I wrote based on the output of the graphs (and fixing stylistic things in the graphs located in MyPackage), but I could do that because very time I did anything with a graph I would have to wait 5 minutes for a_ver_long_and_heavy_function.
One proposal would be that quarto caches the literally text of each code block, and then only executes the code blocks that have been edited. More like a jupyter notebook. If I create a code block and hit "save", then it only re-runs the cells that were modified, without paying attention to the dependency graph in any way.
This is obviously a bad workflow for creating reproducible documents, but it will allow me to work iteratively. I'm not sure how to use quarto in julia otherwise, though. Do people just write a whole document without seeing the graphs, and then click "run" to fill it all in?
Perhaps there is a feature that I am missing?