-
Hi,
I have If I add some python code
the python code is not executed but simply printed If I change the order of code blocks, the python code works, and the bash code is simply printed. If I force the engine in this way - Is it normal? In the engine binding page I read that in some way the jupyter engine is the one to make python and bash coexist, but if I use jupyter engine, I can't get them to coexist. Do I must use knitr to do it? cc @jjallaire Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Bash and Python can coexist as you have them here only in Knitr. If on the other hand you use Jupyter shell magics (https://jakevdp.github.io/PythonDataScienceHandbook/01.05-ipython-and-shell-commands.html) you can do something similar in Jupyter (but not if this is quite as general). |
Beta Was this translation helpful? Give feedback.
-
Here is another refinement of the docs: https://quarto.org/docs/computations/execution-options.html#shell-commands |
Beta Was this translation helpful? Give feedback.
Here is another refinement of the docs: https://quarto.org/docs/computations/execution-options.html#shell-commands