Update 2013-03-14-using-bigmemory-with-rcpp.md

Added the BH dependency to the Rcpp header (required to compile successfully), and added a note about package development (you need C++11 as a SystemRequirement to compile without warnings).
Now that I go back to my code, you're correct about not needing the import
twice. I'm not sure why that solved the problems I was having a few days
ago, but everything compiles fine now I've removed the extraneous import.

I actually tried but couldn't get the Rcpp11 plugin to work. It seemed to
break all of my existing Rcpp code, and I wasn't able to find much in the
way of documentation for Rcpp11 (other than Romain François's abstract for
a tutorial at useR!2014).


On 12 July 2014 11:33, Dirk Eddelbuettel <notifications@github.com> wrote:

> In _posts/2013-03-14-using-bigmemory-with-rcpp.md:
>
> >  // [[Rcpp::depends(BH, bigmemory)]]
> >  #include <bigmemory/MatrixAccessor.hpp>
> >
> >  #include <numeric>
> >
> > +// You will also need to add the following to your DESCRIPTION file if
> > +// you're developing a package so that it will compile without warnings:
> > +// SystemRequirements: C++11
> > +
>
> That is going a little off the plantation here. What we should add is the
> cpp11 plugin.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/jjallaire/rcpp-gallery/pull/54/files#r14850797>.
>