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 = getOption("menu.graphics")) getCRANmirrors(all = FALSE, local.only = FALSE) _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 Mac OS X widget, otherwise use 'menu'. all: Logical, get all known mirrors or only the ones flagged as OK. local.only: Logical, try to get most recent list from CRAN or use file on local disk only. _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 for 'chooseCRANmirror()', this function is invoked for its side effect of updating 'options("repos")'. 'getCRANmirrors()' returns a data frame with mirror information. _S_e_e _A_l_s_o: 'setRepositories', 'contrib.url'.