<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/rcppannoy-0-0-9/"></div></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="http://dirk.eddelbuettel.com/blog/2017/08/31#rcppannoy_0.0.9"> Thinking inside the box </a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<p>An new version 0.0.9 of <a rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.annoy.html" target="_blank">RcppAnnoy</a>, our <a rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.html" target="_blank">Rcpp</a>-based R integration of the nifty <a rel="nofollow" href="https://github.com/spotify/annoy" target="_blank">Annoy</a> library by <a rel="nofollow" href="http://erikbern.com/" target="_blank">Erik</a>, is now on <a rel="nofollow" href="http://cran.r-project.org/" target="_blank">CRAN</a>. <a rel="nofollow" href="https://github.com/spotify/annoy" target="_blank">Annoy</a> is a small and lightweight C++ template header library for very fast approximate nearest neighbours.</p>
<p>This release corrects an issue for Windows users discovered by GitHub user ‘khoran’ who later also suggested the fix of binary mode. It upgrades to <a rel="nofollow" href="https://github.com/spotify/annoy" target="_blank">Annoy</a> release 1.9.1 and brings its new Manhattan distance to <a rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.annoy.html" target="_blank">RcppAnnoy</a>. A number of unit tests were added as well, and we updated some packaging internals such as symbol registration.</p>
<p>And I presume I had a good streak emailing with Uwe’s robots as the package made it onto <a rel="nofollow" href="http://cran.r-project.org/" target="_blank">CRAN</a> rather smoothly within ten minutes of submission:</p>
<blockquote>
<p><img alt="RcppAnnou to CRAN" src="https://i1.wp.com/dirk.eddelbuettel.com/blog/2017/08/31/RcppAnnoy_0.0.9_CRAN.png?w=456" data-recalc-dims="1"> </p>
</blockquote>
<p>Changes in this version are summarized here:</p>
<blockquote>
<h4>Changes in version 0.0.9 (2017-08-31)</h4>
<ul>
<li>
<p>Synchronized with Annoy upstream version 1.9.1</p>
</li>
<li>
<p>Minor updates in calls and tests as required by annoy 1.9.1</p>
</li>
<li>
<p>New Manhattan distance modules along with unit test code</p>
</li>
<li>
<p>Additional unit tests from upstream test code carried over</p>
</li>
<li>
<p>Binary mode is used for <code>save</code> (as suggested by <span>@khoran</span> in <a rel="nofollow" href="https://github.com/eddelbuettel/rcppannoy/issues/21" target="_blank">#21</a>)</p>
</li>
<li>
<p>A new file <code>init.c</code> was added with calls to <code>R_registerRoutines()</code> and <code>R_useDynamicSymbols()</code></p>
</li>
<li>
<p>Symbol registration is enabled in <code>useDynLib</code></p>
</li>
</ul>
</blockquote>
<p>Courtesy of <a rel="nofollow" href="http://dirk.eddelbuettel.com/cranberries/" target="_blank">CRANberries</a>, there is also a diffstat report for <a rel="nofollow" href="http://dirk.eddelbuettel.com/cranberries/2017/08/31#RcppAnnoy_0.0.9" target="_blank">this release</a>.</p>
<p>
This post by <a rel="nofollow" href="http://dirk.eddelbuettel.com/" target="_blank">Dirk Eddelbuettel</a> originated on his <a rel="nofollow" href="http://dirk.eddelbuettel.com/blog/" target="_blank">Thinking inside the box</a> blog. Please report excessive re-aggregation in third-party for-profit settings.</p>
<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/2017/08/31#rcppannoy_0.0.9"> 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/38yZXLa9Wy4" height="1"></a></div>