-
I'm experiencing a weird behaviour. I have recently updated my computer (but I don't think this should be the issue --- I've scripted my way into re-installing all the relevant packages etc). I have now a
If I compile this, the
instead of being executed to render the actual time/date. If I place the same command into a full |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
I remember some conversation of quarto trying to be smart to decide how it should use to convert your
If your document doesn't have a executable code block, quarto treats your document as markdown and send it to the next step. If your document has a executable R code chunk, it will process your document with R Markdown/knitr. If your document has a executable code chunck in a language other than R, it will process your document with Jupyter. You can define the processing engine in your YALM header: https://quarto.org/docs/computations/execution-options.html#engine-binding |
Beta Was this translation helpful? Give feedback.
-
Use For context, when you use inline R code chunk without any R chunk in the document, the auto binding won't apply anymore. When you do use also R code chunk, Quarto will auto bind to the knitr computation engine. |
Beta Was this translation helpful? Give feedback.
-
Happy with that. Should I close the discussion? |
Beta Was this translation helpful? Give feedback.
Use
engine: knitr
in YAML header (said in #4855 (reply in thread) by @cscheid )For context, when you use inline R code chunk without any R chunk in the document, the auto binding won't apply anymore. When you do use also R code chunk, Quarto will auto bind to the knitr computation engine.