REditorSupport / REditorSupport/languageserver
Unable to get languageserver working on coder code-server RHEL 8.10
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 675
- Forks
- 118
- Avg merge
- 1d 37m
- Merged PRs (30d)
- 11
Description
I'm unable to get languageserver to work on our work envrionment. We are running rhel 8.10 and have setup the code-server version of vscode provided by coder. Environments are managed through anaconda.
For R I have done the following steps:
- Created a conda environment
- Install the "languageserver" package to the environment via CRAN (version 0.3.16).
- Install the R extension from REditorSupport
- Install other R packages (e.g. dbscan, tidyverse)
- Created an R file similar to the hdbscan vignette
There is no auto-complete as I would expect, and after a few minutes the R language server fails with this error:
R Language Server (-1) started
Error Client R Language Server: connection is erroring
Server initialization failed. Message: Pending response rejected since connection got disposed.
R Language Server client: couldn't create connection to server
I have tried:
- Reinstalling extensions
- Recreating anaconda environments
Nothing seems to be working for R. I have Pyright installed for Python which seems to be working, minus the syntax highlighting.
Contributor guide
No contributing guide indexed for this repository
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 R Language Server initialization failure in code-server on RHEL 8.10 with the reported conda environment, languageserver 0.3.16, and R extension. Check the client log showing the disposed connection and compare the setup with the working Pyright installation. Done means R autocomplete works and the language server remains connected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- anaconda, linux, r
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100