<div dir="ltr"><div><div>Hi all,<br><br></div>I'm trying to use Rcpp with bigmemory, and I'm using the exact same example from <a href="http://gallery.rcpp.org/articles/using-bigmemory-with-rcpp/">http://gallery.rcpp.org/articles/using-bigmemory-with-rcpp/</a>  , but I'm encountering the following error:<br>

<br>> sourceCpp("example.cpp") <br>In file included from /home/tiago/R/x86_64-pc-linux-gnu-library/3.0/bigmemory/include/bigmemory/MatrixAccessor.hpp:4:0,<br>                 from example.cpp:7:<br>/home/tiago/R/x86_64-pc-linux-gnu-library/3.0/bigmemory/include/bigmemory/BigMatrix.h:5:48: fatal error: boost/interprocess/mapped_region.hpp: No such file or directory<br>

compilation terminated.<br>make: *** [example.o] Error 1<br>g++ -I/usr/share/R/include -DNDEBUG    -I"/home/tiago/R/x86_64-pc-linux-gnu-library/3.0/Rcpp/include" -I"/home/tiago/R/x86_64-pc-linux-gnu-library/3.0/bigmemory/include"    -fpic  -O2 -pipe -g  -c teste.cpp -o teste.o <br>

Error in sourceCpp("example.cpp") : <br>  Error 1 occurred building shared library.<br><br></div>Any ideas?<br><br><br></div>