-
DescriptionI'm trying to parameterise a Quarto book. I'm using R and so want to define the parameters in the yaml, for example: params:
alpha: 1
beta: 0.05However, if I do this in the Whereas, if I specify Is there a proper way I should be parameterising a book, or is this a feature that is not available yet? I am working on a Windows 11 machine with quarto --version 1.7.32 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
Unfortunately, snippets are not very helpful to help you. This being said, parameters are for documents not projects. You could try profiles: https://quarto.org/docs/projects/profiles.html |
Beta Was this translation helpful? Give feedback.
-
|
Apologies, here is a simple example book. The analysis requires multiple chapters, and I would like to be able to re-run the report with different parameter values. |
Beta Was this translation helpful? Give feedback.
Use environment variables and profiles.