<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/rcppsmc-0-2-1-a-few-new-tricks/"></div></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="http://dirk.eddelbuettel.com/blog/2018/03/18#rcppsmc_0.2.1"> Thinking inside the box </a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<p>A new release, now at 0.2.1, of the <a rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.smc.html" target="_blank">RcppSMC</a> package arrived on <a rel="nofollow" href="htts://cran.r-project.org" target="_blank">CRAN</a> earlier this afternoon (and once again as a very quick <em>pretest-publish</em> within minutes of submission).</p>
<p><a rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.smc.html" target="_blank">RcppSMC</a> provides Rcpp-based bindings to R for the Sequential Monte Carlo Template Classes (SMCTC) by Adam Johansen described in his <a rel="nofollow" href="https://www.jstatsoft.org/article/view/v030i06/%E2%80%8E" target="_blank">JSS article</a>. Sequential Monte Carlo is also referred to as <a rel="nofollow" href="https://en.wikipedia.org/wiki/Particle_filter" target="_blank">Particle Filter</a> in some contexts .</p>
<p>This releases contains a few bug fixes and one minor rearrangment allowing header-only use of the package from other packages, or via a Rcpp plugin. Many of these changes were driven by new contributors, which is a wonderful thing to see for any open source project! So thanks to everybody who helped with. Full details below.</p>
<blockquote>
<h4>Changes in RcppSMC version 0.2.1 (2018-03-18)</h4>
<ul>
<li>
<p>The sampler now has a copy constructor and assignment overload (Brian Ni in <a rel="nofollow" href="https://github.com/eddelbuettel/rcppsmc/pull/28" target="_blank">#28</a>).</p>
</li>
<li>
<p>The SMC library component can now be used in header-only mode (Martin Lysy in <a rel="nofollow" href="https://github.com/eddelbuettel/rcppsmc/pull/29" target="_blank">#29</a>).</p>
</li>
<li>
<p>Plugin support was added for use via <code>cppFunction()</code> and other Rcpp Attributes (or <span>inline</span> functions (Dirk in <a rel="nofollow" href="https://github.com/eddelbuettel/rcppsmc/pull/30" target="_blank">#30</a>).</p>
</li>
<li>
<p>The sampler copy ctor/assigment operator is now copy-constructor safe (Martin Lysy In <a rel="nofollow" href="https://github.com/eddelbuettel/rcppsmc/pull/32" target="_blank">#32</a>).</p>
</li>
<li>
<p>A bug in state variance calculation was corrected (Adam in <a rel="nofollow" href="https://github.com/eddelbuettel/rcppsmc/pull/36" target="_blank">#36</a> addressing <a rel="nofollow" href="https://github.com/eddelbuettel/rcppsmc/issues/34" target="_blank">#34</a>).</p>
</li>
<li>
<p>History getter methods are now more user-friendly (Tiberiu Lepadatu in <a rel="nofollow" href="https://github.com/eddelbuettel/rcppsmc/pull/37" target="_blank">#37</a>).</p>
</li>
<li>
<p>Use of <code>pow</code> with atomic types was disambiguated to <code>std::pow</code>) to help the Solaris compiler (Dirk in <a rel="nofollow" href="https://github.com/eddelbuettel/rcppsmc/pull/42" target="_blank">#42</a>).</p>
</li>
</ul>
</blockquote>
<p>Courtesy of <a rel="nofollow" href="http://dirk.eddelbuettel.com/cranberries/" target="_blank">CRANberries</a>, there is a diffstat report for <a rel="nofollow" href="http://dirk.eddelbuettel.com/cranberries/2018/03/18#RcppSMC_0.2.1" target="_blank">this release</a>.</p>
<p>More information is on the <a rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.smc.html" target="_blank">RcppSMC page</a>. Issues and bugreports should go to the <a rel="nofollow" href="https://github.com/eddelbuettel/rcppsmc/issues" target="_blank">GitHub issue tracker</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/2018/03/18#rcppsmc_0.2.1"> 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/51sFupIhgG0" height="1"></a></div>