Skip to content

Instantly share code, notes, and snippets.

@wckdouglas
Last active September 30, 2016 19:12
Show Gist options
  • Save wckdouglas/19db0cb30dfb387b1669 to your computer and use it in GitHub Desktop.
Save wckdouglas/19db0cb30dfb387b1669 to your computer and use it in GitHub Desktop.
install packages for tight-hamr predictions
#!/bin/snv Rscript
installPackages <- function(package){
if(package %in% rownames(installed.packages()) == FALSE)
{
message('Installing ',package)
install.packages(package, dependencies=TRUE)
}else{
message(package,' is installed')
}
}
packages <- c('readr','tidyr','stringr','Rcpp','RCurl','devtools',
'getopt','caret','doMC','kernlab','dplyr','httr','knitr',
'cowplot','stringi')
installed <- lapply(packages,installPackages)
library(RCurl)
library(httr)
set_config( config( ssl_verifypeer = 0L ) )
devtools::install_github('wckdouglas/tgirthamr')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment