REditorSupport / REditorSupport/vscode-R
R Editor Support / R Tools: Missing "Run Selection/Line in Active Terminal" and "Run in R Interactive Window" options in VS Code
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 139
- Avg merge
- 2h 46m
- Merged PRs (30d)
- 5
Description
R is installed and working on my system (macOS, R 4.5-x86_64).
R path is correctly set in VS Code settings.
Only "R Editor Support" and "R Tools" extensions are enabled.
VS Code and extensions are updated to the latest versions.
I can run R code manually in the integrated terminal.
However, I do not see "Run Selection/Line in Active Terminal" or "Run in R Interactive Window" in the Command Palette or right-click menu.
The only R command available is "R: Launch RStudio addins," which fails with "No active R terminal session, attach one to use RStudio addins."
Workspace and global settings have been checked; issue persists across new workspaces.
Steps to Reproduce:
Install R and set up VS Code with R Editor Support and R Tools.
Open an R file.
Try to access "Run Selection/Line in Active Terminal" or "Run in R Interactive Window" via Command Palette or right-click menu.
Expected Behavior:
Should be able to run R code selections directly from the editor.
Should see R Interactive Environment options in Command Palette.
Actual Behavior:
Options are missing; only "R: Launch RStudio addins" is available, which does not work.
Environment:
macOS
VS Code (latest)
R 4.5-x86_64
R Editor Support (latest)
R Tools (latest)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the missing commands with R installed on macOS and only R Editor Support and R Tools enabled. Check the Command Palette and R-file context menu, then compare the available commands with the expected terminal and R Interactive Window options. Done means both run commands are available and execute the selected or current R code.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r, typescript, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100