languageserver
languageserver copied to clipboard
Langaugeserver only works in the terminal but not in the script
hi!
I've tried both langtuage server and languageserverset up and it works in the R terminal but not in the script itself.
Is there a setting that I need to enable to get it to work?
r$> sessionInfo() R version 4.3.0 (2023-04-21) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Pop!_OS 22.04 LTS
Updated with screen shots of error, my session info and my .Rprofile
the terminal is radian which is another app and has nothing to do with the language server.
And RStudio is compeletely irrelevant with language server too.
I suppose it might be possible that you have installed other R extensions in vscode which causes the conflicts. I remember many R extensions in vscode will put files under .vscode-R folders and they may overwrite.
hi reconnecting on this -- I have validated that I'm using the vs code R extension -- https://github.com/REditorSupport/vscode-R.
When I check the output pane I see the below message:
R Language Server (-1) started
When I try to use languageserversetup::languageserver_install() I get the below error:
The install-github.me service is deprecated, please stop using it.
Using github PAT from envvar GITHUB_PAT
Error: Failed to install 'languageserver' from GitHub:
cannot open URL 'https://api.github.com/repos/REditorSupport/languageserver/commits/master'
Any advise on what else I can do?