From 381dd82f9a853d97c11b1aa1ddeed422d4d5758b Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Fri, 31 Jan 2020 12:49:24 +0900 Subject: Add r-languageserver --- installer/install-r-languageserver.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 installer/install-r-languageserver.sh (limited to 'installer/install-r-languageserver.sh') 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 <r-languageserver +#!/usr/bin/env bash + +R --slave -e 'languageserver::run()' +EOF + +chmod +x r-languageserver -- cgit v1.2.3-54-g00ecf