Description Usage Arguments Details Value See Also Examples
The repository must have been created by
createRepository
. Provides an R object to interact
with the repository.
1 | openRepository(path)
|
path |
Path to a directory where the repository has been
created with |
This function only calls the repo_open
function
from the repo
package on path
. It is meant to
allow users not to explicitly load the repo
library,
unless they want to access advanced features.
An object of class repo
that can be passed to
gep2pep
functions.
createRepository
1 2 3 4 5 6 7 8 9 10 11 | db <- loadSamplePWS()
repo_path <- file.path(tempdir(), "gep2pepTemp")
rp <- createRepository(repo_path, db)
rp2 <- openRepository(repo_path)
## rp and rp2 point to the same data:
identical(rp$entries(), rp2$entries())
## > [1] TRUE
unlink(repo_path, TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.