Skip to content
Back to formatted view

Raw Message

Message-ID: <92DEC7DB-556F-4443-8BB0-D9D9D691E5CF@nmsu.edu>
Date: 2019-12-06T21:47:48Z
From: Brook Milligan
Subject: [Rcpp-devel] Segmentation faults

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