question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Install languageserver automatically

See original GitHub issue

When extension is activated, if languageserver is not installed, we could install it automatically. This looks easy to implement:

We could run a script instead of the expression languageserver::run(...). In the script, we check if languageserver is installed. If not, run install.packages("langaugeserver") before running the language server.

We could either use command args to pass the values of debug and port, or use environment variables instead.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:15 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
FelixBenningcommented, Aug 15, 2020

Speed of installation matters if people are also using devcontainers, every new build of the docker container means the extension has to be reinstalled.

0reactions
renkun-kencommented, Jul 27, 2022

Agree. Closing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

languageserversetup - README
Setup and initialize R language server seamlessly and automatically with editors such as VS Code across platforms. CRAN Dependencies License Coverage Check-CRAN ...
Read more >
Automated Setup and Auto Run for R Language Server - Rdrr.io
languageserversetup: Automated Setup and Auto Run for R Language Server. Allows to install the R 'languageserver' with all dependencies into a separate library ......
Read more >
Setting up R with Visual Studio Code quickly and easily with ...
In this post, we will look at the `languageserversetup` package that aims to make the setup of the R Language Server robust and...
Read more >
An implementation of the Language Server Protocol for R
languageserver is an implementation of the Microsoft's Language Server Protocol for the language of R. Installation; Language Clients; Services Implemented ...
Read more >
Language Server Extension Guide - Visual Studio Code
> git clone https://github.com/microsoft/vscode-extension-samples.git > cd vscode-extension-samples/lsp-sample > npm install > npm run compile > code . The ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found