Message-ID: <m2tc376fef21004301350oc2ff255eyc31cd8a951c16c7c@mail.gmail.com>
Date: 2010-04-30T20:50:39Z
From: Jaiganesh Balasubramanian
Subject: [Rcpp-devel] Rcpp & Multithreading
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20100430/fa763fa1/attachment.htm>