repositories {reposTools}R Documentation

A function to choose a repository

Description

This function will find repositories known by the system and present them to the user - allowing the user to select a repository for further use.

Usage

repositories(recurse = TRUE, method="auto")

Arguments

recurse Whether or not to recurse through subrepositories
method Method used for file downloads. See download.file

Details

This function uses the repositories available from the repositories2 option.

Value

A repEntry-class object representing the selected repository, or NULL if the user selects 0 (no repository).

Author(s)

Jeff Gentry

See Also

repEntry-class

Examples

  if (interactive()) {
    z <- repositories()
    z
 }

[Package reposTools version 1.8.0 Index]