Displaying 1 result from an estimated 1 matches for "do_analysis2".
Did you mean:
do_analysis1
2013 Feb 26
1
parallel execution in R
Dear all,
I have a piece of code that I want to run in parallel (I am working in system of 16 cores)
foreach (i=(seq(-93,-73,length.out=21))) %dopar%
{
threshold<-i
print(i)
do_analysis1(i,path)
do_analysis2(i,path)
do_something_else_analysis1(i,path)
something_else_now(i,path)
}
as you can see I have already tried to make this run in parallel, meaning for every i value each of the 16 processor shoule take a block of the body such as:
threshold<-i
print(i)...