Re: [R] Simple parallel for loop

2012-05-14 Thread R. Michael Weylandt
t; >> I do not see to be anyway to contol the number of used cores, like set to >> use only 4, or 8 or 16. >> >> Regards >> Alex >> >> >> From: R. Michael Weylandt >> To: Alaios >> Cc: R help >> Sent: Tu

Re: [R] Simple parallel for loop

2012-05-14 Thread Alaios
From: R. Michael Weylandt Cc: R help Sent: Tuesday, May 15, 2012 8:24 AM Subject: Re: [R] Simple parallel for loop I haven't actually used foreach very much myself, but I would imagine that you could just take advantage of the fact that most plot functions return their arguments sil

Re: [R] Simple parallel for loop

2012-05-14 Thread R. Michael Weylandt
t; To: Alaios > Cc: R help > Sent: Tuesday, May 15, 2012 8:00 AM > Subject: Re: [R] Simple parallel for loop > > Take a look at foreach() and %dopar$ from the CRAN package foreach. > > Michael > > On Tue, May 15, 2012 at 1:57 AM, Alaios wrote: >> Dear all, >&

Re: [R] Simple parallel for loop

2012-05-14 Thread Alaios
, May 15, 2012 8:00 AM Subject: Re: [R] Simple parallel for loop Take a look at foreach() and %dopar$ from the CRAN package foreach. Michael > Dear all, > I am having a for loop that iterates a given number of measurements that I > would like to split over 16 available cores. The code

Re: [R] Simple parallel for loop

2012-05-14 Thread R. Michael Weylandt
Take a look at foreach() and %dopar$ from the CRAN package foreach. Michael On Tue, May 15, 2012 at 1:57 AM, Alaios wrote: > Dear all, > I am having a for loop that iterates a given number of measurements that I > would like to split over 16 available cores. The code is in the following > form

[R] Simple parallel for loop

2012-05-14 Thread Alaios
Dear all, I am having a for loop that iterates a given number of measurements that I would like to split over 16 available cores. The code is in the following format inputForFunction<-expand.grid(caseList,filterList) for (i in c(1:length(inputForFunction$Var1))){#       FileList<-GetFileList