[Rcpp-devel] Integrating java, C++ and R

2013-01-03 Thread Royden Fernandes
Hi, I am able to integrate C++ and R through RInside library. However when I use a jni call as my UI is through java it crashes at C++ side. My files are JNICallingClass.C: JNIEXPORT void JNICALL Java_CallR_run (JNIEnv* env, jobject callr){ std::cout << "Inside JNICALL" << std::endl;

[Rcpp-devel] Integrating Java, C++ and R with RInside

2013-01-06 Thread Royden Fernandes
Hi, I have written a C++ program to create a Rcpp::NumericVector variable of size 1 and able to integrate it with R through RInside library. However when I use a JNI call as my UI is through java, it crashes at C++ side. I can provide the code if required. Royden. ___