<p><div><div><div><div data-width="100" data-show-faces="false" data-send="true" data-layout="button_count" data-height="21" data-href="https://www.r-bloggers.com/news-from-archivist-2-0-on-erum2016-conference/"></div></div><div><a data-url="https://www.r-bloggers.com/news-from-archivist-2-0-on-erum2016-conference/" data-counturl="https://www.r-bloggers.com/news-from-archivist-2-0-on-erum2016-conference/" data-count="horizontal" data-text="News from archivist 2.0 on eRum2016 conference" class="twitter-share-button" data-via="rbloggers" href="https://twitter.com/share"></a></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="http://r-addict.com/2016/10/26/archivist-on-eRum2016.html"> http://r-addict.com</a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<p><img src="https://i2.wp.com/r-addict.com/images/fulls/archivist2_0.png?w=456" data-recalc-dims="1"> Ten days ago <a target="_blank" rel="nofollow" href="http://erum.ue.poznan.pl/">eRum2016</a> conference (European R Users Meeting 2016) has finished. It was a huge event that attracted over 250 attenders, both from academia and business. Meeting was a great opportunity to listen to amazing keynotes like Heather Turner, Katarzyna Stapor, Rasmus Bååth, Jakub Glinka, Ulrike Grömping, Przemyslaw Biecek, Romain Francois, Marek Gagolewski, Matthias Templ and Katarzyna Kopczewska. Big thank you goes to the whole organizing committee and dr Maciej Beręsewicz (head) especially! There were 10 workshops, 2 packages sessions, 2 data workflow sessions, 3 methodolody sessions, 1 BioR session, 2 business sessions, lightnings talks, a poster session and of course a great welcome paRty. <strong>I could not miss a chance to present news from the last release (ver 2.0) of <a target="_blank" rel="nofollow" href="https://github.com/pbiecek/archivist/graphs/contributors">ours</a> <a target="_blank" rel="nofollow" href="https://cran.r-project.org/web/packages/archivist/index.html">archivist</a> package.</strong></p>
<p><img src="https://i1.wp.com/r-addict.com/images/fulls/erum_front_cover_small.jpg?w=456" data-recalc-dims="1"> From the eRum’2 <a target="_blank" rel="nofollow" href="https://github.com/eRum2016/Book-of-abstracts/">Book of Abstracts</a> you can learn that: Open science needs not only reproducible research but also accessible<br>
final and partial results. During the speech I will present the most<br>
valuable applications of the archivist package. The archivist is<br>
an R package for data analysis results management, which helps<br>
in managing, sharing, storing, linking and searching for R<br>
objects. The archivist package automatically retrieves the<br>
object’s meta-data and creates a rich structure that allows for easy<br>
management of calculated R objects. The archivist<br>
package extends the reproducible research paradigm by creating new ways<br>
to retrieve and validate previously calculated objects. These<br>
functionalities also result in a variety of opportunities such as:<br>
sharing R objects within reports/articles by adding hooks to<br>
R objects in table/figure captions; interactive exploration of<br>
object repositories; caching function calls; retrieving object’s<br>
pedigree along with information on how the object was created; automated<br>
tracking of performance of models.</p>
<h2>archivist 2.0: (News from) Managing Data Analysis Results Toolkit</h2>
<p>My presentation about new features and a present architecture of the archivist package is available on the <a target="_blank" rel="nofollow" href="https://github.com/eRum2016/Presentations-participants">list of all eRum2016 presentations</a>. If it’s hard to find it, then use this link <a target="_blank" rel="nofollow" href="http://r-addict.com/eRum2016/#/">http://r-addict.com/eRum2016/#/</a>.</p>
<p>I have shown that there are some requirements for data analysis results: easy to access (for further processing), verifiable, reproducible. However, the reproducibility from scratch is not always possible, so one could improve results’ accedsibility.. The reproducibility is sometimes impossible due to different</p>
<ul>
<li>base version of R</li>
<li>versions of R packages</li>
<li>versions of dependent software</li>
<li>global variables</li>
</ul>
<p>or due to the</p>
<ul>
<li>limitation of the original data</li>
<li>insufficient computational machinery</li>
</ul>
<p>Examples: <a target="_blank" rel="nofollow" href="http://stackoverflow.com/questions/39231807/cant-gather-tibble-in-r"><i></i> Can’t gather tibble in R</a>, <a target="_blank" rel="nofollow" href="http://stackoverflow.com/questions/30394563/cant-install-git2r-nor-devtools-r-packages-on-centos-7-0-64-bit"><i></i> Can’t install git2r nor devtools R packages on centOS 7.0 64 bit</a>, <a target="_blank" rel="nofollow" href="http://stackoverflow.com/questions/28432607/pandoc-version-1-12-3-or-higher-is-required-and-was-not-found-r-shiny"><i></i> pandoc version 1.12.3 or higher is required and was not found (R shiny)</a>, <a target="_blank" rel="nofollow" href="https://github.com/rocker-org/shiny/issues/17"><i></i> rmarkdown::render freezes because pandoc freezes when LC_ALL and LANG are unset</a>.</p>
<h3>Results’ format proposed in the archivist</h3>
<p>If one would present results with the unique hook after the results then the accedsibility. could be improved. Hooks can have the format as presented below and can be an R code that when being executed downloads results from the web (in this case from the GitHub repository named <code>eRum2016</code> that belongs to user called <code>archivistR</code>)</p>
<figure>
<pre><code data-lang="r"><span>library</span><span>(</span><span>archivist</span><span>)</span><span># maybe library(survminer)
</span><span>archivist</span><span>::</span><span>aread</span><span>(</span><span>'archivistR/eRum2016/817107d0e62a9500c4ddb1770bd03378'</span><span>)</span></code></pre>
</figure>
<p><img alt="plot of chunk unnamed-chunk-2" src="https://i0.wp.com/r-addict.com/figure/source/2016-10-26-archivist-on-eRum2016/unnamed-chunk-2-1.png?w=456" data-recalc-dims="1"></p>
<p>In this situation plot can be used in further processing or the data can be extracted from the plot as this the ggplot object (which by default stores data used to produce the object). For example title can be added</p>
<figure>
<pre><code data-lang="r"><span>result</span><span> </span><span>&lt;-</span><span> </span><span>archivist</span><span>::</span><span>aread</span><span>(</span><span>'archivistR/eRum2016/817107d0e62a9500c4ddb1770bd03378'</span><span>)</span><span>
</span><span>library</span><span>(</span><span>ggplot2</span><span>)</span><span>
</span><span>result</span><span>$</span><span>plot</span><span> </span><span>&lt;-</span><span> </span><span>result</span><span>$</span><span>plot</span><span> </span><span>+</span><span> </span><span>ggtitle</span><span>(</span><span>'Extra title'</span><span>)</span><span>
</span><span>result</span></code></pre>
</figure>
<p><img alt="plot of chunk unnamed-chunk-3" src="https://i1.wp.com/r-addict.com/figure/source/2016-10-26-archivist-on-eRum2016/unnamed-chunk-3-1.png?w=456" data-recalc-dims="1"></p>
<h3>Extensions – archivist.github</h3>
<p>If you would like to have more archivist functionalities that are synchronized with GitHub’s repository storage system (e.g. automatic push after each object’s archiving) then you might be interested in the extensions of archivist – the <a target="_blank" rel="nofollow" href="https://cran.r-project.org/web/packages/archivist.github/">archivist.github</a></p>
<p><img src="https://i2.wp.com/r-addict.com/images/fulls/archivist_github.png?w=456" data-recalc-dims="1"></p>
<p>If you are interested in more use cases of the archivist package then read our <a target="_blank" rel="nofollow" href="http://pbiecek.github.io/archivist/Posts.html">posts and talks history</a>.</p>
<p><div><div><div><div data-width="55" data-show-faces="false" data-send="true" data-layout="box_count" data-height="62" data-href="https://www.r-bloggers.com/news-from-archivist-2-0-on-erum2016-conference/"></div></div><div><a data-url="https://www.r-bloggers.com/news-from-archivist-2-0-on-erum2016-conference/" data-counturl="https://www.r-bloggers.com/news-from-archivist-2-0-on-erum2016-conference/" data-count="vertical" data-text="News from archivist 2.0 on eRum2016 conference" class="twitter-share-button" data-via="rbloggers" href="https://twitter.com/share"></a></div><div></div></div><div></div></div>
<div>
<div>To <strong>leave a comment</strong> for the author, please follow the link and comment on their blog: <strong><a href="http://r-addict.com/2016/10/26/archivist-on-eRum2016.html"> http://r-addict.com</a></strong>.</div>
<hr>
<a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers.com</a> offers <strong><a rel="nofollow" href="https://feedburner.google.com/fb/a/mailverify?uri=RBloggers">daily e-mail updates</a></strong> about <a title="The R Project for Statistical Computing" rel="nofollow" href="https://www.r-project.org/">R</a> news and <a title="R tutorials" rel="nofollow" href="https://www.r-bloggers.com/?s=tutorial">tutorials</a> on topics such as: <a title="Data science" rel="nofollow" href="https://www.r-bloggers.com/?s=data%20science">Data science</a>, <a title="Big Data" rel="nofollow" href="https://www.r-bloggers.com/?s=Big%20Data">Big Data, <a title="R jobs" rel="nofollow" href="https://www.r-users.com/">R jobs</a>, visualization (<a title="ggplot and ggplot2 tutorials" rel="nofollow" href="https://www.r-bloggers.com/?s=ggplot2">ggplot2</a>, <a title="Boxplots using lattice and ggplot2 tutorials" rel="nofollow" href="https://www.r-bloggers.com/?s=boxplot">Boxplots</a>, <a title="Maps and gis" rel="nofollow" href="https://www.r-bloggers.com/?s=map">maps</a>, <a title="Animation in R" rel="nofollow" href="https://www.r-bloggers.com/?s=animation">animation</a>), programming (<a title="RStudio IDE for R" rel="nofollow" href="https://www.r-bloggers.com/?s=RStudio">RStudio</a>, <a title="Sweave and literate programming" rel="nofollow" href="https://www.r-bloggers.com/?s=sweave">Sweave</a>, <a title="LaTeX in R" rel="nofollow" href="https://www.r-bloggers.com/?s=LaTeX">LaTeX</a>, <a title="SQL and databases" rel="nofollow" href="https://www.r-bloggers.com/?s=SQL">SQL</a>, <a title="Eclipse IDE for R" rel="nofollow" href="https://www.r-bloggers.com/?s=eclipse">Eclipse</a>, <a title="git and github, Version Control System" rel="nofollow" href="https://www.r-bloggers.com/?s=git">git</a>, <a title="Large data in R using Hadoop" rel="nofollow" href="https://www.r-bloggers.com/?s=hadoop">hadoop</a>, <a title="Web Scraping of google, facebook, yahoo, twitter and more using R" rel="nofollow" href="https://www.r-bloggers.com/?s=Web+Scraping">Web Scraping</a>) statistics (<a title="Regressions and ANOVA analysis tutorials" rel="nofollow" href="https://www.r-bloggers.com/?s=regression">regression</a>, <a title="principal component analysis tutorial" rel="nofollow" href="https://www.r-bloggers.com/?s=PCA">PCA</a>, <a title="Time series" rel="nofollow" href="https://www.r-bloggers.com/?s=time+series">time series</a>, <a title="finance trading" rel="nofollow" href="https://www.r-bloggers.com/?s=trading">trading</a>) and more...
<img height="1" alt="" width="1" src="http://feeds.feedburner.com/~r/RBloggers/~4/034ZSyrVqG4"></a></div>