Skip to content
Discussion options

You must be logged in to vote

For using parameters with Jupyter document, the syntax is different and params are not defined in YAML
See https://quarto.org/docs/computations/parameters.html#jupyter

If by "python knitr block", you mean a python chunk in a Knitr document (which some R chunks), then you need to use reticulate feature to access R from Python

---
title: Title of project
params:
  windows: true
  reproduce: false
---

```{r}
params
```

```{python}
r.params
```

Hope it helps

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@DamonCharlesRoberts
Comment options

Answer selected by DamonCharlesRoberts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants