c2d4u.tools {c2d4u.tools}R Documentation

c2d4u Utilities

Description

c2d4u is a repository of precompiled R packages for Ubuntu. Using it through the operating system commands typically installs packages to the host's site library, which may require root. Instead, these functions can be run from and packages installed to the user library.

Usage

config(sources.list, lists, cache)

update(...)

find(pkg, ...)

show(pkg, ...)

install(pkg, ..., target = .libPaths()[1])

Arguments

sources.list

The debian sources.list file with the URL of the PPA.

lists

A directory to store apt listings.

cache

A directory to cache apt operations.

...

options for config.

pkg

a package name. Note: Ubuntu packages typically have a "r-cran-" prefix.

target

the library to install in to.

Value

config - a set of CLI flags for apt.

update, show and find - a conventional UNIX return code (0 for success), invisibly.

install - a logical for each file copied, invisibly (like file.copy).

Future Work

See Also

https://launchpad.net/~c2d4u.team

Examples


## Not run: 
  # Only relevant to Ubuntu users
  c2d4u.tools::update()
  c2d4u.tools::find("randomizr")
  c2d4u.tools::show("r-cran-randomizr")
  c2d4u.tools::install("r-cran-randomizr")

## End(Not run)



[Package c2d4u.tools version 1.2 Index]