[R] Setting bioconductor repository in .Rprofile. Is there a permanent way?
kw.stat at gmail.com
Mon Jan 24 19:45:01 CET 2011
I currently set the Bioconductor repository in my .Rprofile using this
code (which needs editing for every version number change of
# Choose repositories
repos <- structure(c(CRAN="http://streaming.stat.iastate.edu/CRAN",
I'd like to avoid editing the version number. One hack to do so is
this code that adds all repositories.
r <- getOption("repos")
r <- r[!is.na(r)]
Is there a simpler way? I've searched for quite a while without
finding an answer.
Incidentally, the help page for "options" says:
A Bioconductor mirror can be selected by setting
options("BioC_mirror"): the default value is
The word "default" is a bit confusing here, because when I start R, I see:
More information about the R-help