RcppSMC 0.1.3 and 0.1.4

[This article was first published on Thinking inside the box , and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

The very useful Valgrind tool had flagged
an actual error in the package which the CRAN maintainers
asked us to address. This was followed by a minor brown-bad oversight of a
missing delete, also tagged by Valgrind.
Both are pretty ancient bugs which we probably should have found aeons ago.
Releases 0.1.3 and 0.1.4 made it to CRAN
yesterday in short succession.

To recap, RcppSMC
combines the SMCTC template classes for Sequential Monte Carlo and Particle
Filters (Johansen, 2009, JSS) with the Rcpp package for R/C++ Integration
(Eddelbuettel and Francois, 2011, JSS) and thereby allows for easier and more
direct access from R to the computational core of the Sequential Monte Carlo algorithm.

The two NEWS entries are below:

Changes in RcppSMC version 0.1.4 (2014-05-02)

  • Added missing delete operator to destructor in sampler

Changes in RcppSMC version 0.1.3 (2014-05-01)

  • Bugfix in Sampler.iterate() for memory overrun detected by valgrind

Courtesy of
CRANberries, there
are also diffstat reports for

As always, more detailed information is on the RcppSMC page,

This post by Dirk Eddelbuettel
originated on his Thinking inside the box blog.
Please report excessive re-aggregation in third-party for-profit settings.

To leave a comment for the author, please follow the link and comment on their blog: Thinking inside the box .

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)