REditorSupport / REditorSupport/vscode-R

Creating R terminal wants to source python venv inside R session

Open
#1,446 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
1.2k
Forks
139
Avg merge
2h 46m
Merged PRs (30d)
5

Description

If a python environment is set for the workspace, when launching the R terminal there is an attempt to activate the virtual python environment inside the R REPL. This can be disabled with "python.terminal.activateEnvironment": false but I don't want to disable it globally, just inside R where it makes no sense.

To Reproduce

  1. Set a python venv for the workspace
  2. Run the Create R terminal command

Can you fix this issue by yourself? (We appreciate the help)

No

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Create R terminal command and the python.terminal.activateEnvironment setting, then reproduce the workspace-venv steps from the issue. Done means an R REPL does not attempt Python environment activation while activation remains available for other terminals.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, r, typescript
Domain
cli, developer-experience
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.