diff options
Diffstat (limited to 'installer/install-r-languageserver.sh')
-rwxr-xr-x | installer/install-r-languageserver.sh | 13 |
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 |