aboutsummaryrefslogtreecommitdiff
path: root/installer
diff options
context:
space:
mode:
Diffstat (limited to 'installer')
-rwxr-xr-xinstaller/install-r-languageserver.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/installer/install-r-languageserver.sh b/installer/install-r-languageserver.sh
new file mode 100755
index 0000000..eeaa676
--- /dev/null
+++ b/installer/install-r-languageserver.sh
@@ -0,0 +1,13 @@
+#!/usr/bin/env bash
+
+set -e
+
+R --slave -e 'install.packages("languageserver")'
+
+cat <<EOF >r-languageserver
+#!/usr/bin/env bash
+
+R --slave -e 'languageserver::run()'
+EOF
+
+chmod +x r-languageserver