source("http://bioconductor.org/biocLite.R") courseRepos <- "http://bioconductor.org/course-packages" allRepos <- c(courseRepos, biocinstallRepos()) allPkgs <- c("flowTrack", "flowCore", "flowStats", "flowViz", "flowClust", "flowMerge", "flowQ") update.packages(repos = allRepos, ask = FALSE) newPkgs <- setdiff(allPkgs, installed.packages()) if (length(newPkgs) > 0) install.packages(newPkgs, repos = allRepos)