repo_get {repo} | R Documentation |
Retrieve an item from the repo.
Description
Retrieve an item from the repo.
Usage
repo_get(name, enableSuggestions = T)
Arguments
name |
An item's name. |
enableSuggestions |
If set to TRUE (default), enables some
checks on |
Value
The previously stored object, or its file system path for attachments.
Examples
rp_path <- file.path(tempdir(), "example_repo")
rp <- repo_open(rp_path, TRUE)
rp$put(1, "item1", "Sample item 1", "get")
print(rp$get("item1"))
## wiping temporary repo
unlink(rp_path, TRUE)
[Package repo version 2.1.5 Index]