Files
runner-images/images/linux/scripts/installers/r.sh
Dmitry Shibanov 8e72c30560 Add R tool for linux (#1263)
* add r for ubuntu

* remove head comments

* fix documentation

Co-authored-by: Dmitry Shibanov <v-dmshib@microsoft.com>
2020-07-21 11:18:11 +03:00

11 lines
233 B
Bash

#!/bin/bash
# Source the helpers for use with the script
source $HELPER_SCRIPTS/document.sh
# install R
sudo apt-get install -y r-base
version=$(R --version | grep "R version" | cut -d " " -f 3)
DocumentInstalledItem "R $version"