Skip to content

Instantly share code, notes, and snippets.

@lpenguin
Last active August 29, 2015 14:17
Show Gist options
  • Select an option

  • Save lpenguin/7c782d2bc7119ac18ac6 to your computer and use it in GitHub Desktop.

Select an option

Save lpenguin/7c782d2bc7119ac18ac6 to your computer and use it in GitHub Desktop.
#!/bin/bash
tmpfile=$(mktemp -t rboostrap)
cat > $tmpfile << EOF
install.packages(c('ggplot2', 'data.table', 'reshape2', 'stringr', 'doParallel'), repos=c('http://cran.gis-lab.info/'))
source("http://bioconductor.org/biocLite.R")
biocLite("qvalue")
EOF
Rscript $tmpfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment