R.utils (version 1.32.4)

useRepos: Sets package repositories

Description

Sets package repositories.

Usage

useRepos(repos=NULL, where=c("before", "after", "replace"), ..., unique=TRUE)

Arguments

repos
A character vector of repositories to use. If NULL, nothing is replaced.
where
A character string specifying how to add them to the current set of repositories.
unique
If TRUE, only unique repositories are set.
...
Not used.

Value

  • Returns a list with element 'repos' reflecting options("repos") as the options where prior to calling this function.

See Also

withRepos().