Using python and R together in Rmarkdown

This happens very often, that is why asking programming related questions with a reprex is such a good idea.

I'm glad you found a solution to your problem. Now to close the loop, if your question's been answered (even by you!), would you mind choosing a solution? It helps other people see which questions still need help, or find solutions if they have similar problems. Here’s how to do it:

1 Like