chooseCRANmirror            package:utils            R Documentation

_S_e_l_e_c_t _a _C_R_A_N _M_i_r_r_o_r

_D_e_s_c_r_i_p_t_i_o_n:

     Interact with the user to choose a CRAN mirror.

_U_s_a_g_e:

     chooseCRANmirror(graphics = TRUE)

_A_r_g_u_m_e_n_t_s:

graphics: Logical. If true and 'tcltk' and an X server are available,
          use a Tk widget, or if under the AQUA interface use a MacOS X
          widget, otherwise use 'menu'.

_D_e_t_a_i_l_s:

     A list of mirrors is stored in file 'R_HOME/doc/CRAN_mirrors.csv',
     but first an on-line list of current mirrors is consulted, and the
     file copy used only if the on-line list is inaccessible.

     This function was originally written to support a Windows GUI menu
     item, but is also called by 'contrib.url' if it finds the initial
     dummy value of 'options("repos")'.

_V_a_l_u_e:

     None.  This function is invoked for its side effect of updating
     'options("repos")'

_S_e_e _A_l_s_o:

     'setRepositories', 'contrib.url'.

