diff --git a/backend/src/langs.ts b/backend/src/langs.ts index 385fcc6..d3036aa 100644 --- a/backend/src/langs.ts +++ b/backend/src/langs.ts @@ -1872,6 +1872,9 @@ main = do scope: { code: `x = 123 * 234`, }, + lsp: { + start: `R --slave -e "languageserver::run()"`, + }, template: `print("Hello, world!") `, }, diff --git a/scripts/docker-install-phase3c.bash b/scripts/docker-install-phase3c.bash index b02aa5e..a0a2c9e 100755 --- a/scripts/docker-install-phase3c.bash +++ b/scripts/docker-install-phase3c.bash @@ -66,6 +66,8 @@ python3-pip python3-venv # R +libcurl4-openssl-dev +libxml2-dev r-base # Racket diff --git a/scripts/docker-install-phase5.bash b/scripts/docker-install-phase5.bash index 42dc84f..05b8991 100755 --- a/scripts/docker-install-phase5.bash +++ b/scripts/docker-install-phase5.bash @@ -89,6 +89,9 @@ npm install -g purescript spago # Python pip3 install black +# R +R -e 'install.packages("languageserver")' + # ReasonML npm install -g bs-platform opam install -y reason