Created
May 4, 2017 18:40
-
-
Save mpkocher/c5ab8e41515d4b5b5ffb7e0ab4a9d3bd to your computer and use it in GitHub Desktop.
Install the Zeppelin R dependencies for 0.7.1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
declare -a packages=("devtools" "knitr" "ggplot2" "mplot" "googleVis" "data.table" "caret" "pRoc" "sqldf" "glmnet") | |
declare -a ghpackages=("ramnathv/rCharts") | |
for i in "${packages[$@]}"; do | |
echo "Attempting to install '${i}'" | |
R -e "install.packages('${i}', repos = 'http://cran.us.r-project.org')" | |
done | |
for i in "${ghpackages[$@]}"; do | |
echo "Attempting to install '${i}'" | |
R -e "require(devtools); devtools::install_github('${i}')" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment