<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>I am currently using CppBugs with Rcpp through R. I am very interested to use CppBugs as I am finding WinBugs to be prohibitively slow, I use large amounts of data in large multilevel models, so when I found cppbugs I was excited. It says on the Github page for cppbugs that I can achieve speeds of 20-100x faster than winbugs.<o:p></o:p></p><p class=MsoNormal>I have been testing some examples: for the linear model example that is provided at Github, the time difference is about 2x<o:p></o:p></p><p class=MsoNormal>I also tested the Radon model with Rcpp and Andrew Gelmans data and for 10000 iterations and 10000 burnin with a thinning parameter of 5 the difference is only 16 seconds vs 13 seconds.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I can run multiple chains in parallel through R with the ‘snow’ package, cxxfunction() and package.skeleton() and this does seem to provide a little bit of a boost (parallel winbugs vs parallel cppbugs). But nothing greater than 4x.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Is it possible to achieve the kind of difference mentioned on Whit Armstrong’s page for cppbugs with R?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I am happy to post all the code if required.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Many thanks<o:p></o:p></p><p class=MsoNormal>Sam Watson<o:p></o:p></p></div></body></html>