Commit de2f1dde authored by Jean-Francois Rey's avatar Jean-Francois Rey
Browse files

starting provisioning R

parent 85ae915e
#!/bin/bash
echo "Downloading gfortran for catalina..."
curl -O https://github.com/fxcoudert/gfortran-for-macOS/releases/download/10.2/gfortran-10.2-Catalina.dmg
echo "Install gfortran"
hdiutil attach gfortran-10.2-Catalina.dmg
installer -package gfortran-10.2-Catalina.dmg -target /
hdiutil detach /Volume/gfortran*
echo "Downloading R-4.0 Nightly..."
curl -O https://mac.r-project.org/high-sierra/R-4.0-branch/R-4.0-branch.pkg
echo "Installing R"
installer -package R-4.0-branch.pkg -target /
echo "export PATH=$PATH:/usr/local/gfortran/bin" >> .bashrc
# to install :
#https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Other-libraries
#https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#macOS
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment