mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 22:05:17 +00:00
Add R tool for linux (#1263)
* add r for ubuntu * remove head comments * fix documentation Co-authored-by: Dmitry Shibanov <v-dmshib@microsoft.com>
This commit is contained in:
10
images/linux/scripts/installers/r.sh
Normal file
10
images/linux/scripts/installers/r.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/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"
|
||||
Reference in New Issue
Block a user