I am working on an academic project and utilizing Rstudio. My concern is setting up Rmarkdown with Python. Can we set up Rmarkdown without a virtual environment and just writing in Python, as shown in Image 1?
So far, I've been working on a project in Rmarkdown by changing R to Python in curly brackets, but when I try to plot the graph, it fails. This issue makes me wonder whether I set up the rmarkdown correctly.