REditorSupport / REditorSupport/vscode-R
Vscode R LSP cannot work with a R installed in conda env
Nessuno ha ancora preso questa issue.
- Lingua principale
- TypeScript
- Stelle
- 1.2k
- Fork
- 139
- Merge medio
- 2h 46m
- PR unite (30g)
- 5
Descrizione
Hello guys. I am using Vscode to work on R language for some data analyses. The r-base was installed in a conda environment. And I found that the R terminal cannot work with barely configuration of r.path.xx and r.term.xx pointing to the R.exe in conda env. But with the Python Addon, I can activate a conda env before I start a R terminal.
The R interperter itself can work prefectly after I Python: Select Interperter to configure which conda env to be use. But I found that the R Language Server seem to work independently and doesn’t influenced by the Python: Select Interperter. As the result, the R LSP launched without activating correct conda env and the R launched failed due to missing dll files. How can I launch the R LSP in a conda env?
By the way, I found that an r-base installed by conda cannot work without activating its conda env but a R installed by the CRAN R installer can be use at anywhere. It works even copy the whole directory to another PC. What makes this diffrence and can I make the conda r-base work in such a standalone mode?
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia esaminando la gestione di r.path.xx e r.term.xx da parte della VS Code R extension, quindi confronta in che modo l'avvio del R language server differisce dall'attivazione del conda interpreter della Python extension. Riproduci il malfunzionamento con un'installazione di r-base in un ambiente conda e verifica se l'R LSP può avviarsi con l'ambiente richiesto e le DLLs disponibili.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- anaconda, r, typescript, vscode
- Ambito
- devtools, tooling
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 30/100