1% File src/library/utils/man/chooseBioCmirror.Rd
2% Part of the R package, https://www.R-project.org
3% Copyright 2009-2017 R Core Team
4% Distributed under GPL 2 or later
5
6\name{chooseBioCmirror}
7\alias{chooseBioCmirror}
8\alias{getBioCmirrors}
9\title{Select a Bioconductor Mirror}
10\description{
11  Interact with the user to choose a Bioconductor mirror.
12}
13\usage{
14chooseBioCmirror(graphics = getOption("menu.graphics"), ind = NULL,
15                 local.only = FALSE)
16}
17\arguments{
18  \item{graphics}{Logical.  If true, use a graphical list: on Windows or
19    the macOS GUI use a list box, and on a Unix-alike use a Tk widget if
20    package \pkg{tcltk} and an X server are available.  Otherwise use a
21    text \code{\link{menu}}.}
22
23  \item{ind}{Optional numeric value giving which entry to select.}
24
25  \item{local.only}{Logical, try to get most recent list from the
26    Bioconductor master or use file on local disk only.}
27}
28\details{
29  This sets the \link{option} \code{"BioC_mirror"}: it is used
30  before a call to \code{\link{setRepositories}}.  The out-of-the-box
31  default for that option is \code{NULL}, which currently corresponds to
32  the mirror \url{https://bioconductor.org}.
33
34  The \sQuote{Bioconductor (World-wide)} \sQuote{mirror} is a network of
35  mirrors providing reliable world-wide access; other mirrors may
36  provide faster access on a geographically local scale.
37
38  \code{ind} chooses a row in
39  \file{\var{\link{R_HOME}}/doc/BioC_mirrors.csv},
40  by number.
41}
42\value{
43  None: this function is invoked for its
44  side effect of updating \code{options("BioC_mirror")}.
45}
46\seealso{
47  \code{\link{setRepositories}}, \code{\link{chooseCRANmirror}}.
48}
49\keyword{ utilities }
50