Re: [Rcpp-devel] Using Rcpp without R in a main() function

2012-11-07 Thread Josh.Bowden
Hello Romain, I thought linking to libR would be all that is needed. I have installed RInside, got the example code compiled and substituted my function and it compiled and run. Thanks a lot for the help! Josh. > Hello, > > Rcpp is for calling C++ code from R. Why did you think you can use

[Rcpp-devel] Using Rcpp without R in a main() function

2012-11-07 Thread Josh.Bowden
Hi, I am trying to test some code and in doing so I want to call the code from a main() function. The test code is as follows: #include #include #include #include int main(int argc, char* argv[]) { Int arraySize = 1689 ; // read in the test data // Rcpp::NumericVector A