Displaying 1 result from an estimated 1 matches for "jingi".
Did you mean:
jingu
2011 Apr 14
1
Rcpp segmentation faults on the simplest code
Hi all,
I'm new to R and Rcpp, and I'm trying to learn Rcpp with the simplest code
possible. My goal is to be able to call R functions from C++.
The code I'm trying to run is:
#include
#include
#include
#include
int main(int argc, char* argv[])
{
Rcpp::NumericVector v(1);
return 0;
}
It compiles and links fine. However, as soon as I run it, it segfaults. The
following is