<p><div><div><div><div data-show-faces="false" data-height="21" data-width="100" data-layout="button_count" data-send="true" data-href="https://www.r-bloggers.com/r-3-5-0-on-debian-and-ubuntu-an-update/"></div></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="http://dirk.eddelbuettel.com/blog/2018/06/11#r_3_5_0_deb_update"> Thinking inside the box </a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<br>
<h3>Overview</h3>
<p>R 3.5.0 was <a rel="nofollow" href="https://stat.ethz.ch/pipermail/r-announce/2018/000628.html" target="_blank">released</a> a few weeks ago. As it changes some (important) internals, packages installed with a previous version of R have to be rebuilt. This was known and expected, and we took several measured steps to get R binaries to everybody without breakage.</p>
<p>The question of <em>but how do I upgrade without breaking my system</em> was asked a few times, <em>e.g.</em>, on the <a rel="nofollow" href="https://stat.ethz.ch/mailman/listinfo/r-sig-debian" target="_blank">r-sig-debian</a> <a rel="nofollow" href="https://stat.ethz.ch/mailman/listinfo/r-sig-debian" target="_blank">list</a> as well as in <a rel="nofollow" href="https://stackoverflow.com/a/50076739/143305" target="_blank">this StackOverflow question</a>.</p>
<h3>Debian</h3>
<p><strong>Core Distribution</strong> As usual, we packaged R 3.5.0 as soon as it was released – but only for the <code>experimental</code> distribution, awaiting a green light from the release masters to start the transition. A one-off repository <code>[drr35](https://github.com/eddelbuettel/drr35)</code> was created to provide R 3.5.0 binaries more immediately; this was used, <em>e.g.</em>, by the <code>r-base</code> <a rel="nofollow" href="https://www.rocker-project.org/" target="_blank">Rocker Project</a> container / the <a rel="nofollow" href="https://hub.docker.com/_/r-base/" target="_blank">official R Docker container</a> which we also update after each release.</p>
<p>The actual transition was started last Friday, June 1, and concluded this Friday, June 8. Well over 600 packages have been rebuilt under R 3.5.0, and are now ready in the <code>unstable</code> distribution from which they should migrate to <code>testing</code> soon. The <code>Rocker</code> container <code>r-base</code> was also updated.</p>
<p>So if you use Debian unstable or testing, these are ready now (or will be soon once migrated to <code>testing</code>). This should include most <code>Rocker</code> containers built from Debian images.</p>
<p><strong>Contributed CRAN Binaries</strong> Johannes also provided backports with a –<code>cran35</code> suffix in his CRAN-mirrored Debian backport repositories, see the <a rel="nofollow" href="https://cloud.r-project.org/bin/linux/debian/" target="_blank">README</a>.</p>
<h3>Ubuntu</h3>
<p><strong>Core (Upcoming) Distribution</strong> Ubuntu, for the upcoming 18.10, has undertaken a similar transition. Few users access this release yet, so the next section may be more important.</p>
<p><strong>Contributed CRAN and PPA Binaries</strong> Two new Launchpad PPA repositories were created as well. Given the rather large scope of thousands of packages, multiplied by several Ubuntu releases, this too took a moment but is now fully usable and should get mirrored to CRAN ‘soon’. It covers the most recent and still supported LTS releases as well as the current release 18.04.</p>
<p>One PPA contains base R and the recommended packages, <a rel="nofollow" href="https://launchpad.net/~marutter/+archive/ubuntu/rrutter3.5" target="_blank">RRutter3.5</a>. This is source of the packages that will soon be available on CRAN. The second PPA (<a rel="nofollow" href="https://launchpad.net/~marutter/+archive/ubuntu/c2d4u3.5" target="_blank">c2d4u3.5</a>) contains over 3,500 packages mainly derived from <a rel="nofollow" href="https://cran.r-project.org/web/views/" target="_blank">CRAN Task Views</a>. Details on updates can be found at Michael’s <a rel="nofollow" href="http://rubuntu.netlify.com/" target="_blank">R Ubuntu Blog</a>.</p>
<p>This can used for, <em>e.g.</em>, Travis if you managed your own sources as Dirk’s <code>r-travis</code> does. We expect to use this relatively soon, possibly as an opt-in via a variable upon which <code>run.sh</code> selects the appropriate repository set. It will also be used for <code>Rocker</code> releases built based off Ubuntu.</p>
<p>In both cases, you may need to adjust the <code>sources</code> list for <code>apt</code> accordingly.</p>
<h3>Others</h3>
<p>There may also be ongoing efforts within Arch and other Debian-derived distributions, but we are not really aware of what is happening there. If you use those, and coordination is needed, please feel free to reach out via the the <a rel="nofollow" href="https://stat.ethz.ch/mailman/listinfo/r-sig-debian" target="_blank">r-sig-debian</a> <a rel="nofollow" href="https://stat.ethz.ch/mailman/listinfo/r-sig-debian" target="_blank">list</a>.</p>
<h3>Closing</h3>
<p>In case of questions or concerns, please consider posting to the <a rel="nofollow" href="https://stat.ethz.ch/mailman/listinfo/r-sig-debian" target="_blank">r-sig-debian</a> <a rel="nofollow" href="https://stat.ethz.ch/mailman/listinfo/r-sig-debian" target="_blank">list</a>.</p>
<p>Dirk, Michael and Johannes, June 2018</p>
	<p>
<div>
<div>To <strong>leave a comment</strong> for the author, please follow the link and comment on their blog: <strong><a href="http://dirk.eddelbuettel.com/blog/2018/06/11#r_3_5_0_deb_update"> Thinking inside the box </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 rel="nofollow" href="https://www.r-project.org/" title="The R Project for Statistical Computing">R</a> news and <a rel="nofollow" href="https://www.r-bloggers.com/search/tutorial" title="R tutorials">tutorials</a> on topics such as: <a rel="nofollow" href="https://www.r-bloggers.com/search/data%20science" title="Data science">Data science</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/Big%20Data" title="Big Data">Big Data, <a rel="nofollow" href="https://www.r-users.com/" title="R jobs">R jobs</a>, visualization (<a rel="nofollow" href="https://www.r-bloggers.com/search/ggplot2" title="ggplot and ggplot2 tutorials">ggplot2</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/boxplot" title="Boxplots using lattice and ggplot2 tutorials">Boxplots</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/map" title="Maps and gis">maps</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/animation" title="Animation in R">animation</a>), programming (<a rel="nofollow" href="https://www.r-bloggers.com/search/RStudio" title="RStudio IDE for R">RStudio</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/sweave" title="Sweave and literate programming">Sweave</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/LaTeX" title="LaTeX in R">LaTeX</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/SQL" title="SQL and databases">SQL</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/eclipse" title="Eclipse IDE for R">Eclipse</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/git" title="git and github, Version Control System">git</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/hadoop" title="Large data in R using Hadoop">hadoop</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/Web+Scraping" title="Web Scraping of google, facebook, yahoo, twitter and more using R">Web Scraping</a>) statistics (<a rel="nofollow" href="https://www.r-bloggers.com/search/regression" title="Regressions and ANOVA analysis tutorials">regression</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/PCA" title="principal component analysis tutorial">PCA</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/time+series" title="Time series">time series</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/trading" title="finance trading">trading</a>) and more...
<img width="1" alt="" src="http://feeds.feedburner.com/~r/RBloggers/~4/7MVzqC0HId4" height="1"></a></div>