Description Usage Arguments Value Author(s) Examples
point R to an additional package repository
1 | add_repository(path, name)
|
path |
the path to a repository. note this should be the root level, where 'src/contrib' exists. |
name |
the repository name. |
nothing. sets the 'repos' option.
Mark Cowley, 2013-05-20
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
# for packages that live in ~/src/contrib, specify this:
add_repository("file:///Users/marcow", "local")
getOption("repos")
# <libdir>/src/contrib exists
add_repository(paste0("file://", normalizePath(libdir), "/"), "local")
getOption("repos")
# real example; add the NuGO repository
add_repository("http://nmg-r.bioinformatics.nl/Custom_CDF_DB_V16.0.0/", "NUGO")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.