vscode-R icon indicating copy to clipboard operation
vscode-R copied to clipboard

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.

Open simonleandergrimm opened this issue 2 years ago • 2 comments

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: image

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

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

simonleandergrimm avatar Jan 30 '23 16:01 simonleandergrimm

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

eitsupi avatar Jan 31 '23 10:01 eitsupi

This issue is stale because it has been open for 365 days with no activity.

github-actions[bot] avatar Feb 13 '24 01:02 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Feb 28 '24 01:02 github-actions[bot]