Thank you both.
I think I have got the answer I need.
I'll need to turn to another direction to search for my solution.
Best,
Da
On Sat, Jan 31, 2015 at 8:32 PM, Dirk Eddelbuettel wrote:
>
> On 31 January 2015 at 19:29, Gábor Csárdi wrote:
> | On Sat, Jan 31, 2015 at 7:05 PM, Dirk Eddelbuettel
On 31 January 2015 at 19:29, Gábor Csárdi wrote:
| On Sat, Jan 31, 2015 at 7:05 PM, Dirk Eddelbuettel wrote:
| [...]
|
| - either work in something like OpenMP and run in multiple threads that
| remain /completely/ shielded from R, ie no R calls, and not even R data
| types as
On Sat, Jan 31, 2015 at 7:05 PM, Dirk Eddelbuettel wrote:
[...]
> - either work in something like OpenMP and run in multiple threads that
>remain /completely/ shielded from R, ie no R calls, and not even R data
>types as you cannot trigger gc() calls from different threads
>
I think you
On 31 January 2015 at 18:30, Zheng Da wrote:
| I'm writing an R extension in C++. In the extension, I want to invoke
| an R function directly and it works when I use Rcpp in the serial
| code. But what I really want is to invoke the R function in parallel
| with openmp. When I do so, I got segment
Hello,
I'm writing an R extension in C++. In the extension, I want to invoke
an R function directly and it works when I use Rcpp in the serial
code. But what I really want is to invoke the R function in parallel
with openmp. When I do so, I got segmentation fault.
I remember someone said that R i