Learn R Programming

pkgmaker (version 0.32.10)

setBiocMirror: Setting Mirrors and Repositories

Description

setBiocMirror sets all Bioconductor repositories (software, data, annotation, etc.). so that they are directly available to install.packages. It differs from chooseBioCmirror in that it effectively enables the repositories.

Usage

setBiocMirror(
  url = "http://www.bioconductor.org",
  version = NULL,
  unique = TRUE
)

getBiocMirror()

getBiocRepos(url = "http://www.bioconductor.org", version = NULL)

setCRANMirror(url = CRAN, unique = TRUE)

Value

setBiocMirror returns the old set of Bioc repositories.

Arguments

url

or Bioconductor mirror url

version

version number

unique

logical that indicate if duplicated urls or names should be removed.

Functions

  • getBiocMirror(): is a shortcut for getOption('BioC_mirror'), which returns the current Bioconductor mirror as used by biocLite.

  • getBiocRepos(): returns urls to all Bioconductor repositories on a given mirror.

  • setCRANMirror(): sets the preferred CRAN mirror.