Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Jean-Michel (aka Jean-Claude!) Marin came for a few days so that we could make late progress on the revision of our book Bayesian Core towards an Use R! version. In one of the R programs in the mixture chapter, we were getting improbable answers, until we found an R mistake in the shape of

 > sum(c(1,2,3,log=TRUE))
[1] 7
> sum(c(1,2,3),log=TRUE)
[1] 7


which was not detected by the compiler… There are surely plenty of good reasons for this to happen and it did not take long to fix the bug, still… annoying!

Filed under: Books, R, Statistics, University life Tagged: Bayesian Core, Introducing Monte Carlo Methods with R, R, revision, Use R