For executing R code in parallel you you may want to take a look at
multicore (part of the parallel package built in to R).
On Sun, Oct 5, 2014 at 1:51 AM, Jeffrey Wong wrote:
> I am trying to use RcppParallel to do a fast grid search. The idea is to
> construct a matrix using R's expand.grid, t
Envoyé de mon iPhone
> Le 5 oct. 2014 à 07:51, Jeffrey Wong a écrit :
>
> I am trying to use RcppParallel to do a fast grid search. The idea is to
> construct a matrix using R's expand.grid, then for each row of that matrix,
> x, call f(x). For simplicity the function f will always return a
I am trying to use RcppParallel to do a fast grid search. The idea is to
construct a matrix using R's expand.grid, then for each row of that matrix,
x, call f(x). For simplicity the function f will always return a double.
Since Rcpp can call an R function I was hoping RcppParallel would allow me