CRANView {RGtkViewers}R Documentation

GUI for viewing & installing packagess on multiple repositories

Description

This presents a GUI for browsing the list of R packages on one or more repositories such as CRAN, Omegahat, BioConductor. The packages are presented in a tree, grouped by repository. Selecting a package named displays its details taken from its DESCRIPTION file. One can also click on a button in that page to install that package.

Usage

CRANView(mirrors = c(CRAN = contrib.url(CRAN),
                     Omegahat = "http://www.omegahat.org/download/R/packages",
                     BioConductor = "http://www.bioconductor.org/packages/release/distrib"),
         CRAN = getOption("CRAN"),
         pkgs = getRPackageInfo(mirrors, full = TRUE))

Arguments

mirrors a named character vector containing elements of the form repository name and URL in which the packages are to be found.
CRAN the URL identifying the location of the CRAN repository. By default, this is taken from the session's options, but one can specify a different mirror as one desires.
pkgs information about the packages in the mirrors. This can be downloaded previously and passed to this function to avoid re-fetching the material over the network.

Value

A list with elements

window the GtkWindow object which gives the display
packages the package information which can be used in subsequent calls via the pkgs argument to avoid having to download the details again.

Author(s)

Duncan Temple Lang <duncan@research.bell-labs.com>

References

http://www.omegahat.org/RGtk, http://www.omegahat.org/RGtkViewer, http://www.omegahat.org/RSDBI http://www.gtk.org

See Also

getRPackageInfo

Examples

## Not run: 
 CRANView()

 CRANView(c(Omegahat="http://www.omegahat.org/download/R/packages"))
## End(Not run)

[Package RGtkViewers version 0.7-4 Index]