Rev 35751 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
\name{setRepositories}\alias{setRepositories}\title{Select Package Repositories}\description{Interact with the user to choose the package repositories to be used.}\usage{setRepositories(graphics = TRUE)}\arguments{\item{graphics}{Logical.#ifdef windowsIf true use a listbox,#endif#ifdef unixIf true and \pkg{tcltk} and an X server are available, use a Tkwidget, or if under the AQUA interface use a MacOS X widget,#endifotherwise use a text list in the console.}}\details{The default list of known repositories is stored in the file\file{R\_HOME/etc/repositories}.That file can be edited for a site, or a user can have a personal copyin \file{HOME/.R/repositories} which will take precedence.The items that are preselected are those that are currently in\code{options("repos")} plus those marked as default in thelist of known repositories.}\value{This function is invoked mainly for its side effect of updating\code{options("repos")}. It returns (invisibly) the previous\code{repos} options setting (as a \code{\link{list}} with component\code{repos}) or \code{\link{NULL}} if no changes were applied.}\seealso{\code{\link{chooseCRANmirror}}, \code{\link{install.packages}}.}\keyword{ utilities }