posit-dev / posit-dev/positron

Positron not finding R interpreter in SSH

Open
#11,571 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: remote host bug lang: r support
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

  1. This issue also occurred when I tried to run a regular R file that was not associated with a GitHub repo.
  2. 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:

  1. Start SSH connection to HPC
  2. Clone a GitHub repo into the HPC or simply open an R file
  3. 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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.