-
Hi, I would like to ask if it is possible to set a dynamic figure size?
Any chances this works (or will work) in Quarto as well? Many thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Quarto does not support only YAML values for its chunk definition. However, for knitr compatibility, there is special support
Hope it helps |
Beta Was this translation helpful? Give feedback.
Quarto does not support only YAML values for its chunk definition. However, for knitr compatibility, there is special support
See https://quarto.org/docs/computations/r.html#chunk-options
First you could still pass option as you do in R Markdown. So about "Any chances this works (or will work) in Quarto as well?" Did you try it ? Because it should work
You can use YAML new syntax, but use special
!expr
syntax as in the doc - Only drawback: It applies on knitr only within Quarto. Not other computation engine.Hope it helps