<div dir="ltr"><div><span style="font-family:arial,sans-serif;font-size:13px">Hi guys,</span><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">So I've installed and loaded the <a href="http://cran.r-project.org/web/packages/BH/index.html" target="_blank">BH</a> package without any errors, then I tried to run <a href="http://gallery.rcpp.org/articles/a-first-boost-example/" target="_blank">this example</a> but sourceCpp failed to compile it. I was wondering if there is a quick fix for this and I'm just making some very basic mistake here</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I saw <a href="http://stackoverflow.com/questions/19651954/is-it-possible-to-build-an-r-package-which-use-rcpp-and-boost-thread-on-win-b" target="_blank">this</a> post lately and I'm not sure if this means that I just can't compile BH on windows or just can't build a package which depends on it</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">As a side note, I was trying to add the quantile() function from BOOST to <a href="http://stackoverflow.com/questions/26786078/rcpp-quantile-implementation/26789292#26789292" target="_blank">this</a> SO answer in order to improve it for future readers as I didn't find any nice BOOST/Rcpp implementations online other than in Dirks Gallery<br></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Thanks,</div><div style="font-family:arial,sans-serif;font-size:13px">David</div></div><div style="font-family:arial,sans-serif;font-size:13px"><div><br></div><div>---</div><div><br></div><div>sessionInfo()</div><div>R version 3.1.1 (2014-07-10)</div><div>Platform: x86_64-w64-mingw32/x64 (64-bit)</div><div><br></div><div>locale:</div><div>[1] LC_COLLATE=Hebrew_Israel.1255  LC_CTYPE=Hebrew_Israel.1255    LC_MONETARY=Hebrew_Israel.1255</div><div>[4] LC_NUMERIC=C                   LC_TIME=Hebrew_Israel.1255    </div><div><br></div><div>attached base packages:</div><div>[1] stats     graphics  grDevices utils     datasets  methods   base     </div><div><br></div><div>other attached packages:</div><div>[1] Rcpp_0.11.3 BH_1.54.0-4</div><div><br></div><div>loaded via a namespace (and not attached):</div><div>[1] tools_3.1.1</div></div>
</div>