aread
reads the artifact from the Repository. It's a wrapper around
loadFromLocalRepo and loadFromRemoteRepo.
aread(md5hash)
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. |
---|
Function aread
reads artifacts (by md5hashes
) from Remote Repository.
It uses loadFromLocalRepo and loadFromRemoteRepo functions
with different parameter's specification.
Before you start using this function, remember to set local or Remote repository
to default by using setLocalRepo()
or setRemoteRepo
functions.
Bug reports and feature requests can be sent to https://github.com/pbiecek/archivist/issues
Biecek P and Kosinski M (2017). "archivist: An R Package for Managing, Recording and Restoring Data Analysis Results." _Journal of Statistical Software_, *82*(11), pp. 1-28. doi: 10.18637/jss.v082.i11 (URL: http://doi.org/10.18637/jss.v082.i11). URL https://github.com/pbiecek/archivist
Other archivist: Repository
,
Tags
, %a%
,
addHooksToPrint
, addTagsRepo
,
aformat
, ahistory
,
alink
, aoptions
,
archivist-package
,
areadLocal
, asearchLocal
,
asearch
, asession
,
atrace
, cache
,
copyLocalRepo
,
createLocalRepo
,
createMDGallery
,
deleteLocalRepo
,
getRemoteHook
, getTagsLocal
,
loadFromLocalRepo
, md5hash
,
removeTagsRepo
, restoreLibs
,
rmFromLocalRepo
,
saveToLocalRepo
,
searchInLocalRepo
,
setLocalRepo
,
shinySearchInLocalRepo
,
showLocalRepo
,
splitTagsLocal
,
summaryLocalRepo
,
zipLocalRepo
# read the object from local directory setLocalRepo(system.file("graphGallery", package = "archivist")) pl <- aread("7f3453331910e3f321ef97d87adb5bad") # To plot it remember to have ggplot2 in version 2.1.0 # as this is stated in asession("7f3453331910e3f321ef97d87adb5bad") . # The state of R libraries can be restored to the same state in # which 7f3453331910e3f321ef97d87adb5bad was created with the restoreLibs function. # read the object from Remote pl <- aread("pbiecek/graphGallery/7f3453331910e3f321ef97d87adb5bad") # To plot it remember to have ggplot2 in version 2.1.0 # as this is stated in asession("pbiecek/graphGallery/7f3453331910e3f321ef97d87adb5bad") . # The state of R libraries can be restored to the same state in # which 7f3453331910e3f321ef97d87adb5bad was created with the restoreLibs function.