Hello,

 I'm actually just trying to start RInside.

 My Problem:
 The creation of the embedded R instance is not in the main method.
 And the C++ is started by Java with a so called JNI Wrapper.
 C++ creates the library for the Java code.
It's a big project and unfortunately I didn't found how to get argc and argv, yet. (I'm
 just responsible for the connection of C++ an R.)

 So I tried to immitate the argc and argv with just 1 parameter.
    char path[]="";
    char *argv[0]={path};
    RInside R(1, argv);
In Eclipse only with C++ with the StatET Plugin it doesn't matter which parameter i give
 to RInside, it starts and works also in a seperate function.
 But maybe just because of the preferences in eclipse.

 So I tried this in the project with Java.
The compilation of the C++ Library works fine but if I try to call the function (with
 Java) where R should be started there is the following error:

 C stack usage is too close to the limit
 C stack usage is too close to the limit
 terminate called after throwing an instance of 'Rcpp::binding_not_found'
    what(): binding not found '.AutoEnv'

 In general I'm trying to understand where exactly is the error.
I think that the Rcpp an RInside libraries should be there, otherwise there would be
 errors during C++ compiling.
 So maybe it is the parameter of RInside?

 Greetings
 Falk Schramm

--
Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/
_______________________________________________
Rcpp-devel mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to