Working with an *.Rmd file, I can't execute chunks that are set to use "python" or "bash", without setting switching my active terminal to the required language.
Working with an *.Rmd file, I can't execute chunks that are set to use "python" or "bash", without setting switching my active terminal to the required language.
For instance, executing this chunk in Rstudio works:

While in VSCode I get the following error, if I don't switch terminals away from R:

My settings file can be found here: defaultSettings.txt Environment
- OS: macOS
- VSCode Version: 1.72.2
- R Version: 4.2.1
- vscode-R version: 2.7.0
I don't think this is a bug, just that vscode-R does not support execution of anything other than R code chunks.
I recommend trying the Quarto extension, which supports execution of Julia, Python, and R code blocks. https://quarto.org/docs/tools/vscode.html
This issue is stale because it has been open for 365 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.