Hi all,
I've just started using Rcpp and am trying to get cpp11 support working. As
suggested I added [[Rcpp:plugins(cpp11)]] to my source file and a test
function:
// [[Rcpp::export]]
int useCpp11() {
auto x = 10;
return x;
}
This works fine when using:
sourceCpp(filename)
from R, but I woul
ss right away.
>
> 1. Make sure you are 'LinkingTo' Rcpp11 in your DESCRIPTION
> 2. Unless you are using some custom Makevars file, you should set
> 'SystemRequirements: C++11' in your DESCRIPTION
>
> Charles
>
> On Wed, Jun 24, 2015 at 10:07 AM, Edwin van Le
2 matches
Mail list logo