# NOT RUN {
# Install from BioC related repositories only
withRepos(install.packages("edgeR"), repos="[[BioC]]")
# Install from CRAN or BioC related repositories only
withRepos(install.packages("edgeR"), repos=c("CRAN", "[[BioC]]"))
# Install from mainstream repositories only (same as previous)
withRepos(install.packages("edgeR"), repos="[[mainstream]]")
# Install from R-Forge and mainstream repositories only
withRepos(install.packages("R.utils"), repos="[[R-Forge]]")
# Update only CRAN packages
withRepos(update.packages(ask=FALSE), repos="[[CRAN]]")
# Update only Bioconductor packages
withRepos(update.packages(ask=FALSE), repos="[[BioC]]")
# }
Run the code above in your browser using DataLab