<div>
<p>Not surprisingly, <a target="_blank" href="http://user2016.org/">this year’s UseR! conference</a> was a great event with heaps of talented researchers and R-developers showing off the latest and greatest R packages. (A surprise visit from Donald Knuth didn’t hurt either.) What was extra great this year was that all talks were recorded, including mine. So if you want to know more about how the non-parametric Bootstrap is really a Bayesian procedure, and how you can run the Bayesian bootstrap in R using my <a target="_blank" href="https://github.com/rasmusab/bayesboot">bayesboot</a> package, just press play. <img alt="🙂" class="wp-smiley" src="https://s.w.org/images/core/emoji/72x72/1f642.png"></p>
<p><center><iframe height="360" width="640" allowfullscreen src="https://www.youtube.com/embed/VceFc5hsMw8?rel=0"></iframe></center></p>
<p></p>
<p></p>
<p>If you want to know even more you can take a look at the <a target="_blank" href="https://docs.google.com/presentation/d/19BWRC2zqcgzzkCExEcqBkX5UdQah8NKm8OwXZUakHa4/edit?usp=sharing">the slides</a>, <a target="_blank" href="http://www.sumsar.net/papers/baath_2016_bayesboot_abstract.pdf">the abstract</a>, and <a target="_blank" href="https://github.com/rasmusab/bayesboot">the package</a>.</p>
<h2>Some Highlights at UseR! 2016</h2>
<p>Since almost every presentation at useR! 2016 was filmed you can <a target="_blank" href="https://channel9.msdn.com/Events/useR-international-R-User-conference/useR2016">head over and start browsing right now</a>. Here are some recommendations if you don’t know where to start:</p>
<p><strong>FiveThirtyEight’s data journalism workflow with R</strong>. In this fun and easy going presentation Andrew Flowers describes how R is used at the well known data driven news site FiveThirtyEight.</p>
<p><center><iframe height="360" width="640" allowfullscreen="" src="https://channel9.msdn.com/Events/useR-international-R-User-conference/useR2016/FiveThirtyEights-data-journalism-workflow-with-R/player"></iframe></center></p>
<p></p>
<p><strong>Notebooks with R Markdown</strong>. J.J. Allaire shows off the notebook (à la iPython) feature which will be integrated in future versions of Rstudio.</p>
<p><center><iframe height="360" width="640" allowfullscreen="" src="https://channel9.msdn.com/Events/useR-international-R-User-conference/useR2016/Notebooks-with-R-Markdown/player"></iframe></center></p>
<p></p>
<p><strong>jailbreakr: Get out of Excel, free</strong>. Jenny Bryan successfully explains why spreadsheets aren’t that horrible and introduces <a target="_blank" href="https://github.com/rsheets/jailbreakr">jailbreakr</a>, an ambitious new package with the goal intelligently importing spreadsheets into R.</p>
<p><center><iframe height="360" width="640" allowfullscreen="" src="https://channel9.msdn.com/Events/useR-international-R-User-conference/useR2016/jailbreakr-Get-out-of-Excel-free/player"></iframe></center></p>
<p></p>
<p>One new (to me) package that made me exited was <a target="_blank" href="https://github.com/HenrikBengtsson/future">the future package</a> by <a target="_blank" href="https://github.com/HenrikBengtsson">Henrik Bengtsson</a>. A <em>future</em> is a programming language construct that acts as a stand-in for a value that is not computed yet and, here is the cool part, can be computed in parallel while the program is doing something else. Using futures is therefore a way of parallelizing your code, and now R has them! The future package implements a number of functions, but the real magic is the operator <code>%&lt;-%</code> which creates a future <em>promise</em>. It’s easier to show than to explain:</p>
<pre><code><div><pre>library(future)
plan(multiprocess) <span># For cross platform parallel computation</span>

slow_computation_1 <span>&lt;-</span> <span>function</span>() { Sys.sleep(<span>5</span>); <span>40</span> }
slow_computation_2 <span>&lt;-</span> <span>function</span>() { Sys.sleep(<span>5</span>); <span>2</span> }

system.time({
  a <span>%&lt;-%</span> slow_computation_1() <span># This happens at the same time as ...</span>
  b <span>%&lt;-%</span> slow_computation_2() <span># ...this and the program will wait ...</span>
  cat(<span>&quot;The answer is&quot;</span>, a <span>+</span> b, <span>&quot;\n&quot;</span>) <span># ... here for the functions to finish.</span>
})
</pre>
</div>
<p></p>
<pre><code><div><pre><span>## The answer is 42</span>
</pre>
</div>
<p></p>
<pre><code><div><pre><span>## user system elapsed </span>
<span>## 0.052 0.000 5.053</span>
</pre>
</div>
<p></p>
<p>So (almost) all you have to do is to replace <code>&lt;-</code> with <code>%&lt;-%</code> and suddenly your program runs in parallel! The <a target="_blank" href="https://channel9.msdn.com/Events/useR-international-R-User-conference/useR2016/A-Future-for-R">recording of the future package presentation</a> unfortunately suffers from bad sound quality, but Henrik has written <a target="_blank" href="https://cran.r-project.org/web/packages/future/vignettes/future-1-overview.html">a detailed vignette that explains the package</a>.</p>
<p>All in all, another great UseR! and I’m already looking forward to the next one in Brussels! <img alt="🙂" class="wp-smiley" src="https://s.w.org/images/core/emoji/72x72/1f642.png"></p>
<p></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="http://www.r-bloggers.com/bayesian-bootstrap-the-movie-some-highlights-from-user-2016/"></div></div><div><a data-url="http://www.r-bloggers.com/bayesian-bootstrap-the-movie-some-highlights-from-user-2016/" data-counturl="http://www.r-bloggers.com/bayesian-bootstrap-the-movie-some-highlights-from-user-2016/" data-count="vertical" data-text="Bayesian Bootstrap: The Movie + Some Highlights from UseR! 2016" 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://www.sumsar.net/blog/2016/07/bayesian-bootstrap-the-movie/"> Publishable Stuff</a></strong>.</div>
<hr>
<a rel="nofollow" href="http://www.r-bloggers.com/">R-bloggers.com</a> offers <strong><a rel="nofollow" href="http://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="http://www.r-project.org/">R</a> news and <a title="R tutorials" rel="nofollow" href="http://www.r-bloggers.com/?s=tutorial">tutorials</a> on topics such as: <a title="Data science" rel="nofollow" href="http://www.r-bloggers.com/?s=data%20science">Data science</a>, <a title="Big Data" rel="nofollow" href="http://www.r-bloggers.com/?s=Big%20Data">Big Data, <a title="R jobs" rel="nofollow" href="http://www.r-users.com/">R jobs</a>, visualization (<a title="ggplot and ggplot2 tutorials" rel="nofollow" href="http://www.r-bloggers.com/?s=ggplot2">ggplot2</a>, <a title="Boxplots using lattice and ggplot2 tutorials" rel="nofollow" href="http://www.r-bloggers.com/?s=boxplot">Boxplots</a>, <a title="Maps and gis" rel="nofollow" href="http://www.r-bloggers.com/?s=map">maps</a>, <a title="Animation in R" rel="nofollow" href="http://www.r-bloggers.com/?s=animation">animation</a>), programming (<a title="RStudio IDE for R" rel="nofollow" href="http://www.r-bloggers.com/?s=RStudio">RStudio</a>, <a title="Sweave and literate programming" rel="nofollow" href="http://www.r-bloggers.com/?s=sweave">Sweave</a>, <a title="LaTeX in R" rel="nofollow" href="http://www.r-bloggers.com/?s=LaTeX">LaTeX</a>, <a title="SQL and databases" rel="nofollow" href="http://www.r-bloggers.com/?s=SQL">SQL</a>, <a title="Eclipse IDE for R" rel="nofollow" href="http://www.r-bloggers.com/?s=eclipse">Eclipse</a>, <a title="git and github, Version Control System" rel="nofollow" href="http://www.r-bloggers.com/?s=git">git</a>, <a title="Large data in R using Hadoop" rel="nofollow" href="http://www.r-bloggers.com/?s=hadoop">hadoop</a>, <a title="Web Scraping of google, facebook, yahoo, twitter and more using R" rel="nofollow" href="http://www.r-bloggers.com/?s=Web+Scraping">Web Scraping</a>) statistics (<a title="Regressions and ANOVA analysis tutorials" rel="nofollow" href="http://www.r-bloggers.com/?s=regression">regression</a>, <a title="principal component analysis tutorial" rel="nofollow" href="http://www.r-bloggers.com/?s=PCA">PCA</a>, <a title="Time series" rel="nofollow" href="http://www.r-bloggers.com/?s=time+series">time series</a>, <a title="finance trading" rel="nofollow" href="http://www.r-bloggers.com/?s=trading">trading</a>) and more...
<img height="1" alt="" width="1" src="http://feeds.feedburner.com/~r/RBloggers/~4/2ap9kFlA7Q0"></a></div></code></pre></code></pre></code></pre></div>