REditorSupport / REditorSupport/vscode-R

PTY Host Error when runing R code on MacOS

Open
#1,654 2 comments 2 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

Does this issue occur when all extensions are disabled?: Both

VS Code Version: 1.106.3
OS Version: Mac OS Tahoe 26.1

Steps to Reproduce:
Ran R code in VS Code
Code failed to complete, generated error message: "The connection to the terminal's pty host process is unresponsive, terminals may stop working. Click to manually restart the pty host."

Especially with large chunks of R code (does not happen in Rstudio or R terminal)

Clicks to restart, re-runs code, error arises again, but i lost all of my environnement

Image

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 failure in VS Code 1.106.3 on macOS Tahoe with extensions disabled, using a large chunk of R code. Investigate the terminal PTY host behavior around the reported unresponsive-process message. Done means the R code completes without repeatedly losing the environment or requiring a PTY restart.

Written by the indexing model from the issue text.

Assessment

Tech stack
r, typescript
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.