[R-sig-hpc] Parallel computation on vectorized function

Zachary Mayer zach.mayer at gmail.com
Sat Aug 27 17:13:08 CEST 2011


See this question on stack overflow:
http://stackoverflow.com/questions/5571774/what-is-the-easiest-way-to-parallelize-a-vectorized-function-in-r

"Have a look at the pvec function in multicore"

Sent from my iPhone

On Aug 27, 2011, at 10:41 AM, Megh Dal <megh700004 at yahoo.com> wrote:

> Dear all, I am looking for some way on how to parallelize some computation on a vectorized function. I have a custom made vectorized function and also have a very length vector (of length some 2 million entries.)
>
> There are equivalents for all apply family of functions however could not find any way how to apply some parallel computation on a single vectorized function. I have tried with making my vector to list (of same length) and then applying sfLapply() function. However this process is actually taking more time.
>
> I am using windows vista machine and snowfall package.
>
> Any help will be highly appreciated.
>
> Thanks,
>
> _______________________________________________
> R-sig-hpc mailing list
> R-sig-hpc at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-hpc



More information about the R-sig-hpc mailing list