REditorSupport / REditorSupport/vscode-R

Combine rterm/rpath settings for different operating systems?

Open
#597 6 comments 5 reactions 1 assignee View on GitHub

@eitsupi is already working on this.

Since Sep 19, 2026.

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

Description

We have separate settings for R paths on different platforms:

  • r.rpath.windows, r.rpath.mac, r.rpath.linux
  • r.rterm.windows, r.rterm.mac, r.term.linux

But as far as I can tell we don't handle these differently in the code. We check the user's OS, then choose the setting for that OS. So I think we could just have r.rpath and r.rterm. This would simplify things for the user (fewer settings) and for our code.

The downside to this change would be that a lot of users would already have those settings set. I think settings can be automatically migrated - I believe this was done recently when the vscode-jupyter extension was split out from the vscode-python extension. I could look into how they did it and see whether it seems practical. If the user has multiple of those settings set, we could show a message to ask them to choose which one to retain.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.