RcppSMC 0.1.3 and 0.1.4

(This article was first published on Thinking inside the box , and kindly contributed to R-bloggers)

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 on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Search R-bloggers


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)