Skip to content

Can anyone share their setup for Quarto documents that use both Python and R code blocks? #8253

Answered by cderv
ddanieltan asked this question in Q&A
Discussion options

You must be logged in to vote

Not a complete answer, but I'm trying to bring some elements of what I know.

Is there a single dependency management tool that can handle both Python and R dependencies

Regarding R with knitr and reticulate for Python, renv (https://rstudio.github.io/renv/) can handle R and Python dependencies for the same project. More on Python integration at: https://rstudio.github.io/renv/articles/python.html

Is a Python + R document better supported in RStudio when executing code chunks from Python and R?

reticulate (https://rstudio.github.io/reticulate) is what allows to run Python from R. it is well integrated in RStudio IDE (https://rstudio.github.io/reticulate/articles/rstudio_ide.html) and p…

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@ddanieltan
Comment options

@bgall
Comment options

Answer selected by ddanieltan
Comment options

You must be logged in to vote
2 replies
@ddanieltan
Comment options

@jr-leary7
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
python-setup Issues with Python's environment and setup knitr computations
5 participants