aread reads the artifact from the Repository. It's a wrapper around
loadFromLocalRepo and loadFromRemoteRepo.
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.
aread reads artifacts (by
md5hashes) from Remote Repository.
It uses loadFromLocalRepo and loadFromRemoteRepo functions
with different parameter's specification.
Bug reports and feature requests can be sent to https://github.com/pbiecek/archivist/issues
Before you start using this function, remember to set local or Remote repository
to default by using
Przemyslaw Biecek, email@example.com
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
1 2 3 4 5 6 7 8 9 10 11 12 13 14
# 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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.