I am trying to build some simple test cases of Rcpp.  One of the simplest I can 
think of is below.

#include <Rcpp.h>

int main ()
{
  auto i = Rcpp::IntegerVector::create(1,2);
}

This compiles fine and links against libR, but segmentation faults when run.  
My test system is a Mac with clang++.

Is there an obvious reason this should not work?

Cheers,
Brook

_______________________________________________
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

Reply via email to