Hi all,
I wrote a function foo using RcppParallel and I am observing a bug, which I
can’t figure out.
I first wrote the function in R, then in Rcpp, then RcppParallel.
foo is doing exactly what it is supposed to do in R and Rcpp.
However, I am observing some wired things in RcppParallel.
foo_pa
itely see this line on
> the slide 57:
> RMatrix output;
>
> Anyway, the example is there:
> http://gallery.rcpp.org/articles/parallel-matrix-transform/
> <http://gallery.rcpp.org/articles/parallel-matrix-transform/>
>
> Romain
>
>> Le 31 mai 2017 à 12
ple.o] Error 1
Hope this is as easily solved as the before error.
Cheers, Franz
> On 31 May 2017, at 12:26, Romain Francois wrote:
>
> You can add this somewhere on top of your cpp file
>
> // [[Rcpp::depends(RcppParallel)]]
>
> Romain
>
>> Le 31 mai 201
Hi all,
I am very new to Rcpp and I wrote a function which I now want to parallelize.
The function is working fine, and is much faster than in R, however, it really
is slow for bigger datasets.
Since the function is running I don’t need to explain what it does, however, it
is has
3 nested for