Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Install R official on macOS
#! /bin/bash
R_VERSION=$1
wget https://mac.r-project.org/el-capitan/R-${R_VERSION}-branch/R-${R_VERSION}-branch-el-capitan-sa-x86_64.tar.gz
sudo tar fvxz R*.tar.gz -C /
rm R*.tar.gz
@pat-s

This comment has been minimized.

Copy link
Owner Author

@pat-s pat-s commented Dec 14, 2019

Usage

bash install-r-macOS.sh 3.6

Will install the latest version of the R 3.6 branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment