<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/rcpp-now-used-by-800-cran-packages/"></div></div><div><a data-url="https://www.r-bloggers.com/rcpp-now-used-by-800-cran-packages/" data-counturl="https://www.r-bloggers.com/rcpp-now-used-by-800-cran-packages/" data-count="horizontal" data-text="Rcpp now used by 800 CRAN packages" 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://dirk.eddelbuettel.com/blog/2016/10/16#rcpp_800_packages"> Thinking inside the box </a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<p><img alt="800 Rcpp packages" src="https://i1.wp.com/dirk.eddelbuettel.com/blog/code/rcpp/RcppGrowth_2016-10-16.png?w=456" data-recalc-dims="1"></p>
<p>A moment ago, <a target="_blank" href="http://dirk.eddelbuettel.com/code/rcpp.html">Rcpp</a> hit another milestone: 800 packages on <a target="_blank" href="http://cran.r-project.org/">CRAN</a> now depend on it (as measured by Depends, Imports and LinkingTo declarations). The graph is on the left depicts the growth of <a target="_blank" href="http://dirk.eddelbuettel.com/code/rcpp.html">Rcpp</a> usage over time.</p>
<p>The easiest way to compute this is to use the <code>reverse_dependencies_with_maintainers()</code> function from a <a target="_blank" href="http://developer.r-project.org/CRAN/Scripts/depends.R">helper scripts file on CRAN</a>. This still gets one or <em>false positives</em> of packages declaring a dependency but not actually containing C++ code and the like. There is also a helper function <code>revdep()</code> in the <a target="_blank" href="https://cran.r-project.org/package=devtools">devtools package</a> but it includes <code>Suggests:</code> which does not firmly imply usage, and hence inflates the count. I have always opted for a tighter count with corrections.</p>
<p>Rcpp cleared 300 packages <a target="_blank" href="http://dirk.eddelbuettel.com/blog/2014/11/25#rcpp_300_packages">in November 2014</a>. It passed 400 packages in June of last year (when I only <a target="_blank" href="https://twitter.com/eddelbuettel/status/613235012939464704">tweeted about it</a>), <a target="_blank" href="http://dirk.eddelbuettel.com/blog/2015/10/27#rcpp_500_packages">500 packages less than a year ago in late October</a>, <a target="_blank" href="http://dirk.eddelbuettel.com/blog/2016/03/11#rcpp_600_packages">600 packages this March</a> and <a target="_blank" href="http://dirk.eddelbuettel.com/blog/2016/07/11#rcpp_700_packages">700 packages this July</a>. The chart extends to the very beginning via manually compiled data from <a target="_blank" href="http://dirk.eddelbuettel.com/cranberries/">CRANberries</a> and checked with <a target="_blank" href="https://github.com/metacran/crandb">crandb</a>. The next part uses manually saved entries. The core (and by far largest) part of the data set was generated semi-automatically via a short script appending updates to a small file-based backend. A list of packages using <a target="_blank" href="http://dirk.eddelbuettel.com/code/rcpp.html">Rcpp</a> is kept on <a target="_blank" href="http://dirk.eddelbuettel.com/code/rcpp.cranusers.html">this page</a>.</p>
<p>Also displayed in the graph is the relative proportion of <a target="_blank" href="http://cran.r-project.org/">CRAN</a> packages using <a target="_blank" href="http://dirk.eddelbuettel.com/code/rcpp.html">Rcpp</a>. The four per-cent hurdle was cleared just before <a target="_blank" href="http://user2014.stat.ucla.edu/">useR! 2014</a> where I showed a similar graph (as two distinct graphs) in my <a target="_blank" href="http://dirk.eddelbuettel.com/papers/useR2014_keynote.pdf">invited talk</a>. We passed five percent in December of 2014, six percent July of last year, seven percent just before Christmas and eight percent this summer.</p>
<p>800 user packages is staggeringly large and humbling number. This puts more than some responsibility on us in the Rcpp team as we continue to keep <a target="_blank" href="http://dirk.eddelbuettel.com/code/rcpp.html">Rcpp</a> as performant <em>and</em> reliable as it has been.</p>
<p>At the rate we are going, the big 1000 may be hit before we all meet again for <a target="_blank" href="https://twitter.com/user_brussels">useR! 2017</a>.</p>
<p>And with that a very big <strong>Thank You!</strong> to all users and contributors of <a target="_blank" href="http://dirk.eddelbuettel.com/code/rcpp.html">Rcpp</a> for help, suggestions, bug reports, documentation or, of course, code.</p>
<p>
This post by <a target="_blank" href="http://dirk.eddelbuettel.com/">Dirk Eddelbuettel</a> originated on his <a target="_blank" href="http://dirk.eddelbuettel.com/blog/">Thinking inside the box</a> blog. Please report excessive re-aggregation in third-party for-profit settings.</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="https://www.r-bloggers.com/rcpp-now-used-by-800-cran-packages/"></div></div><div><a data-url="https://www.r-bloggers.com/rcpp-now-used-by-800-cran-packages/" data-counturl="https://www.r-bloggers.com/rcpp-now-used-by-800-cran-packages/" data-count="vertical" data-text="Rcpp now used by 800 CRAN packages" 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://dirk.eddelbuettel.com/blog/2016/10/16#rcpp_800_packages"> 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 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/3W5neJmIKnw"></a></div>