Learn R Programming

archivist (version 2.1)

aread: Read Artifacts Given as md5hashes from the Repository

Description

aread reads the artifact from the Repository. It's a wrapper around loadFromLocalRepo and loadFromRemoteRepo.

Usage

aread(md5hash)

Arguments

md5hash
One of the following:

A character vector which elements are consisting of at least three components separated with '/': Remote user name, Remote repository and name of the artifact (MD5 hash) or it's abbreviation.

MD5 hashes of artifacts in current local default directory or its abbreviations.

Details

Function aread reads artifacts (by md5hashes) from Remote Repository. It uses loadFromLocalRepo and loadFromRemoteRepo functions with different parameter's specification.

See Also

Other archivist: Repository, Tags, %a%, addHooksToPrint, addTagsRepo, aformat, ahistory, alink, aoptions, archivist-package, asearch, asession, atrace, cache, copyLocalRepo, createLocalRepo, createMDGallery, deleteLocalRepo, getRemoteHook, getTagsLocal, loadFromLocalRepo, md5hash, restoreLibs, rmFromLocalRepo, saveToLocalRepo, searchInLocalRepo, setLocalRepo, shinySearchInLocalRepo, showLocalRepo, splitTagsLocal, summaryLocalRepo, zipLocalRepo

Examples

Run this code
# read the object from local directory
setLocalRepo(system.file("graphGallery", package = "archivist"))
pl <- aread("f05f0ed0662fe01850ec1b928830ef32")
# plot it
pl
# read the object from Remote
pl <- aread("pbiecek/graphGallery/f05f0ed0662fe01850ec1b928830ef32")
# plot it
pl

Run the code above in your browser using DataLab