Render with Parameters GUI (similar to .Rmd Knit with Parameters) #7581
Replies: 2 comments 1 reply
-
This repository is about Quarto CLI not editors. An example using Quarto CLI using parameters (see https://quarto.org/docs/computations/parameters.html): ---
title: "Lipsum"
params:
amazing-content: "This is amazing content"
engine: knitr
---
`{r} params[["amazing-content"]]` quarto render index.qmd --execute-param "amazing-content:actually not really" or providing parameters as a YAML file amazing-content: "Yes it is amazing" quarto render index.qmd --execute-params params.yml For feature request regarding:
|
Beta Was this translation helpful? Give feedback.
-
Just to be thorough regarding the R Markdown ecosystem, the "the Knit with Parameters GUI available in .Rmd files" is not an IDE thing. This is possible at command line using The interface is built with Shiny miniui - With quarto it is a bit different, and less integrated, but it is possible to do the same:
I don't know if we'll add that in Any webapp would work to get input, serialize to YAML and pass it to Quarto render. Taking into account specificity of parameters for Quarto (no R object can be passed except being serialize - e.g. you can't pass a data.Frame as parameter). Anyhow, current solution is to develop its own interface IMO to wrap call to Quarto. |
Beta Was this translation helpful? Give feedback.
-
Description
My team and a lot of other public health agencies have built and utilize pre-built
.Rmd
reporting templates that allow end-users to quickly and easily explore data using theKnit with Parameters GUI
available in.Rmd
files. It would be great this this GUI functionality could be integrated within Quarto (as it was with R Markdown).Although parameters can be specified through
quarto::render()
and other knitting functions, the GUI is a relied upon tool to support no/low-code users which may not be confident/comfortable to edit pre-built code templates (but are able to select options they want to look at).If implemented, the GUI would remove a major barrier to transitioning many of our reporting templates from
.Rmd
to.Qmd
, thank you!Beta Was this translation helpful? Give feedback.
All reactions