r.libPaths setting for renv-enabled projects not working
I maintainer di solito rispondono entro 1 giorno
@ElianHugh ci sta già lavorando.
Dal 14/2/2024.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Describe the bug
The instructions given in the Wiki for installing languageserver in a separate minimal library and having vscode-R load it from there do not work for me. The r.libPaths setting seems to have no effect. I get the message
VSCode R Session Watcher requires jsonlite, rlang. Please install manually in order to use VSCode-R.
during R startup in projects using renv and can't send commands to R, use the help viewer, etc. When I use .libPaths() in the R session to point R to the standalone library manually, I can load languageserver and jsonlite without a problem.
To Reproduce
Follow the steps outlined in the Wiki, then create an R terminal in a renv-enabled project. The error message appears and help viewer etc. do not work.
Can you fix this issue by yourself? (We appreciate the help)
No
(If applicable) Please attach setting.json
{
"security.workspace.trust.untrustedFiles": "open",
"editor.largeFileOptimizations": false,
"editor.unicodeHighlight.ambiguousCharacters": false,
"editor.unicodeHighlight.nonBasicASCII": false,
"r.plot.useHttpgd": true,
"editor.fontLigatures": true,
"editor.fontFamily": "'CaskaydiaCove Nerd Font', Menlo, Monaco, 'Courier New', monospace",
"files.autoSave": "afterDelay",
"r.rterm.option": [
"--restore",
"--save"
],
"typescript.suggest.paths": false,
"javascript.suggest.paths": false,
"workbench.startupEditor": "newUntitledFile",
"r.rterm.mac": "/opt/homebrew/bin/radian",
"editor.fontSize": 13,
"terminal.integrated.fontSize": 13,
"editor.minimap.enabled": false,
"terminal.integrated.defaultLocation": "editor",
"window.confirmBeforeClose": "keyboardOnly",
"terminal.integrated.confirmOnExit": "hasChildProcesses",
"editor.formatOnType": true,
"editor.tabSize": 2,
"editor.inlineSuggest.enabled": true,
"codeium.enableConfig": {
"*": true,
"rmd": true,
"plaintext": true
},
"diffEditor.ignoreTrimWhitespace": false,
"gitblame.statusBarMessageFormat": "${author.name} (${commit.summary, 30}, ${time.ago})",
"codeium.enableSearch": true,
"editor.acceptSuggestionOnEnter": "off",
"editor.accessibilitySupport": "off",
"latex-workshop.latex.autoBuild.run": "never",
"r.bracketedPaste": true,
"r.libPaths": [
"/Users/user/.R-pkgs-vscode/renv/library/R-4.3/aarch64-apple-darwin20"
]
}
(where /Users/user is my user folder)
Expected behavior
languageserver should be loaded from the library specified in the r.libPaths setting, help viewer etc. should work.
Environment (please complete the following information):
- OS: macOS 14.2.1
- VSCode Version: 1.85.2
- R Version: 4.3.2
- vscode-R version: 2.8.2
Additional context
Maybe additional settings have to be changed that are not mentioned in the Wiki? I read about "r.lsp.args": ["--vanilla"], which did not have any effect, and r.lsp.libPath, which does not seem to exist any more (and, unsurprisingly, also has no effect).
- Lingua principale
- TypeScript
- Stelle
- 1.2k
- Fork
- 147
- Merge medio
- 1g 10h
- PR unite (30g)
- 65
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi 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.
Altre issue di REditorSupport/vscode-R
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
REditorSupport/vscode-R#1846 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
(feat) Additional Arrow supportForse già presa @Fred-Wu l’ha presa 10 giorni fa. Apertaenhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
REditorSupport/vscode-R#1785 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 12/100
REditorSupport/vscode-R#1859 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
REditorSupport/vscode-R#1851 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
REditorSupport/vscode-R#1850 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di REditorSupport/vscode-R
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
cameri/nostream#811 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug p3 triaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
bug javascript P2-medium python release:v3.1
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
adrirubio/claude-deck#546 ·
I maintainer di solito rispondono entro 1 giorno
-
area: desktop area: website priority: P2 type: feature
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
appandflow/stim#3411 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
rjsf-team/react-jsonschema-form#5485 ·
I maintainer di solito rispondono entro 2 giorni