posit-dev / posit-dev/positron
Positron not finding R interpreter in SSH
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 4.3k
- Forks
- 184
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 195
Description
System details:
Positron and OS details:
Positron Version: 2026.01.0 (Universal) build 147
Code - OSS Version: 1.106.0
Commit: 3290136f699527bf01b703b390457b05ef2b858a
Date: 2026-01-06T01:40:36.448Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 25.2.0
Session details:
R 4.5.2
Issue:
When I tried to open an R file from a GitHub repo cloned to my HPC, Positron could not find R as a session interpreter, even though R is installed on my University's HPC. Below is a video showing the issue. Note that
- This issue also occurred when I tried to run a regular R file that was not associated with a GitHub repo.
- R runs fine for me in Positron when I am not using an SSH connection
https://github.com/user-attachments/assets/de589bad-f405-4957-b348-2f5742ab9c4a
Steps to reproduce the issue:
- Start SSH connection to HPC
- Clone a GitHub repo into the HPC or simply open an R file
- Open an R file from the repo and try to run
Expected or desired behavior:
Positron should find the R version installed on your HPC as the session interpreter.
The error message I saw when I tried to run 2+2 in an R code was "Cannot execute code because there is no registered runtime for the 'r' language."
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
Start by reproducing the missing R session interpreter over an SSH connection to an HPC system, comparing it with local execution. Trace how Positron discovers and registers the installed R runtime in the remote session; done means an R file can execute code remotely using the HPC's installed R version.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r, typescript
- Domain
- developer-experience, devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100