Использована команда:
Код: Выделить всё
quarto render test.qmd -P foo:5 --output test_cmd_out.html
Код: Выделить всё
---
title: "Test File"
format: html
html:
embed-resources: true
execute:
echo: False
jupyter: python3
---
# Title
Print this in report
```{python}
foo
```
---
Код: Выделить всё
Starting python3 kernel...Done
Executing 'test.quarto_ipynb'
Cell 1/1: ''...ERROR:
An error occurred while executing the following cell:
------------------
foo
------------------
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
Cell In[1], line 1
----> 1 foo
NameError: name 'foo' is not defined
Нужно ли мне использовать его как params$foo даже для Python или некоторых других другой способ???
Не уверен, что не так, если я посмотрю их документацию.
Буду очень признателен за любую помощь. Уже несколько дней не могу понять, как использовать Quarto !!
Подробнее здесь: https://stackoverflow.com/questions/792 ... -rendering