Commit 114f8632 authored by Celine Noirot's avatar Celine Noirot
Browse files

matthias correction

parent e1f89367
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
### ---------------------Packages ### ---------------------Packages
#common packages #common packages
packages <- c("igraph", # new unmet dependency for mixOmics packages <- c("igraph",
"optparse", # to read arguments from a command line "optparse", # to read arguments from a command line
"ggplot2", # nice plots "ggplot2", # nice plots
"gridExtra", # multiple plots on one page "gridExtra", # multiple plots on one page
"grid", # multiple plots on one page for MAplots "grid", # multiple plots on one page for MAplots
...@@ -27,9 +27,9 @@ packages <- c("igraph", # new unmet dependency for mixOmics ...@@ -27,9 +27,9 @@ packages <- c("igraph", # new unmet dependency for mixOmics
for(package in packages){ for(package in packages){
# if package is installed locally, load # if package is installed locally, load
if (!(package %in% rownames(installed.packages()))) { #if (!(package %in% rownames(installed.packages()))) {
install.packages(package, repos="http://cran.univ-paris1.fr") install.packages(package, repos = "http://cran.us.r-project.org")
} #}
do.call('library', list(package)) do.call('library', list(package))
} }
......
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