Commit 0411ef24 authored by Jean-Marie Lepioufle's avatar Jean-Marie Lepioufle
Browse files

simpler

parent 8e5c9cf3
sourcedir <- file.path(getwd(),"lib")
# data.table, purrr, Rcpp, RcppEigen, Matrix, ranger
install.packages(file.path(sourcedir,"data.table_1.11.8.tar.gz"), repos=NULL, type='source')
install.packages(file.path(sourcedir,"purrr_0.3.3.tar.gz"), repos=NULL, type='source')
install.packages(file.path(sourcedir,"Rcpp_1.0.3.tar.gz"), repos=NULL, type='source')
install.packages(file.path(sourcedir,"RcppEigen_0.3.3.4.0.tar.gz"), repos=NULL, type='source')
install.packages(file.path(sourcedir,"Matrix_1.2-18.tar.gz"), repos=NULL, type='source')
install.packages(file.path(sourcedir,"ranger_0.11.1.tar.gz"), repos=NULL, type='source')
## docopt
install.packages(file.path(sourcedir,"docopt_0.6.1.tar.gz"), repos=NULL, type='source')
if (!("package:purrr" %in% search())){
install.packages("purrr",repos="https://cran.uib.no/")
}
if (!("package:dplyr" %in% search())){
install.packages("dplyr",repos="https://cran.uib.no/")
}
if (!("package:tibble" %in% search())){
install.packages("tibble",repos="https://cran.uib.no/")
}
if (!("package:ggplot2" %in% search())){
install.packages("ggplot2",repos="https://cran.uib.no/")
}
if (!("package:ranger" %in% search())){
install.packages("ranger",repos="https://cran.uib.no/")
}
if (!("package:data.table" %in% search())){
install.packages("data.table",repos="https://cran.uib.no/")
}
Supports Markdown
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