REditorSupport / REditorSupport/vscode-R
Did not receive a response from VSCode-R API within 5 seconds
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 139
- Avg merge
- 2h 46m
- Merged PRs (30d)
- 5
Description
Hi,
On an HPC SLURM compute node, I'm getting
r$> devtools::load_all()
Error in request_response("rstudioapi", action = action, args = list(...)) :
Did not receive a response from VSCode-R API within 5 seconds.
I think the last change I made was to ~/.Rprofile, adding
Sys.setenv(TERM_PROGRAM = "vscode")
source(file.path(
Sys.getenv(
if (.Platform$OS.type == "windows") "USERPROFILE" else "HOME"
),
".vscode-R", "init.R"
))
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
Reproduce the timeout on an HPC SLURM compute node using the shown ~/.Rprofile settings and devtools::load_all(). Start by reading .vscode-R/init.R and the request_response("rstudioapi", ...) path mentioned in the error. Done means the VSCode-R API responds and devtools::load_all() completes without the five-second timeout.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r, typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100