Hi Folks, I am creating a multi-threaded C++ application that initializes RInside in one of the child thread. I would also like to access support interfaces like Rcpp::Environment in the remaining child threads, so that I could access any "R" function associated with the environment initialized. When I run my program, I always get "C Stack limit too huge" errors. I looked at the "Writing R Extensions" manual, and it pointed to initializing the R_CStackLimit variable to "-1", and that this initialization need to be made after the RInside constructor is called. I did that, but it still does not work. Can you please let me know how do we accomplish this task? Thanks very much, Jai [[alternative HTML version deleted]]
Hi, Thank you for your interest in RInside. We usually engage people to use the Rcpp-devel mailing list for questions about RInside. Could you prepare a small example of what you are trying to achieve and repost there. https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel Romain Le 30/04/10 19:32, Jaiganesh Balasubramanian a ?crit :> > Hi Folks, > > I am creating a multi-threaded C++ application that initializes RInside in > one of the child thread. > > I would also like to access support interfaces like Rcpp::Environment in the > remaining child threads, so that I could access any "R" function associated > with the > environment initialized. > > When I run my program, I always get "C Stack limit too huge" errors. > > I looked at the "Writing R Extensions" manual, and it pointed to > initializing the R_CStackLimit variable to "-1", and > that this initialization need to be made after the RInside constructor is > called. I did that, but it still does not work. > > Can you please let me know how do we accomplish this task? > > Thanks very much, > Jai-- Romain Francois Professional R Enthusiast +33(0) 6 28 91 30 30 http://romainfrancois.blog.free.fr |- http://bit.ly/9aKDM9 : embed images in Rd documents |- http://tr.im/OIXN : raster images and RImageJ |- http://tr.im/OcQe : Rcpp 0.7.7
Hi, Thank you for your interest in RInside. We usually engage people to use the Rcpp-devel mailing list for questions about RInside. Could you prepare a small example of what you are trying to achieve and repost there. https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel Romain Le 30/04/10 19:32, Jaiganesh Balasubramanian a ?crit :> > Hi Folks, > > I am creating a multi-threaded C++ application that initializes RInside in > one of the child thread. > > I would also like to access support interfaces like Rcpp::Environment in the > remaining child threads, so that I could access any "R" function associated > with the > environment initialized. > > When I run my program, I always get "C Stack limit too huge" errors. > > I looked at the "Writing R Extensions" manual, and it pointed to > initializing the R_CStackLimit variable to "-1", and > that this initialization need to be made after the RInside constructor is > called. I did that, but it still does not work. > > Can you please let me know how do we accomplish this task? > > Thanks very much, > Jai-- Romain Francois Professional R Enthusiast +33(0) 6 28 91 30 30 http://romainfrancois.blog.free.fr |- http://bit.ly/9aKDM9 : embed images in Rd documents |- http://tr.im/OIXN : raster images and RImageJ |- http://tr.im/OcQe : Rcpp 0.7.7