On 27 January 2014 at 16:15, Kevin Ushey wrote: | The error says that it can't find the boost header file | 'boost/interprocess/mapped_region.hpp'. Previously, when the article | was written, this part of boost was packaged as part of bigmemory. | Now, bigmemory links to BH | (http://cran.r-project.org/web/packages/BH/index.html), a CRAN package | assembled by Dirk et al, to get the boost libraries it needs. | | This means you likely have to do the same -- change the depends | statement in the C++ to | | // [[Rcpp::depends(BH, bigmemory)]] | | and all should be well -- Rcpp will then know where to find the | necessary boost headers. (Alternatively, of course, you can download | boost yourself.) The article should be updated to reflect that as | well, I think.
And Kevin was alert enough to file an issue ticket / pull request for the Rcpp Gallery post which has since been merged and further processed by JJ and myself -- all good now and taken care of. Nice work, everybody! Dirk -- Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com _______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel