From romain.francois at dbmail.com  Sat May  1 10:15:06 2010
From: romain.francois at dbmail.com (Romain Francois)
Date: Sat, 01 May 2010 10:15:06 +0200
Subject: [Rd] RInside & child threads
In-Reply-To: <v2oc376fef21004301032g719cbd54r29cee7c6d0df7c12@mail.gmail.com>
References: <v2oc376fef21004301032g719cbd54r29cee7c6d0df7c12@mail.gmail.com>
Message-ID: <4BDBE30A.4020701@dbmail.com>


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



[Rd] RInside & child threads
Romain Francois