Skip to content
Prev 308959 / 398503 Next

parallel processing with foreach

Hi,

I am trying to  parallel computing with foreach function, but not able to
get the result. I know that in parallel processing, all result is collected
in list format, but I am not able to get input there.
Any help is really appreciated.


esf.m <-foreach (i = 1:n.s, .combine=rbind) %dopar%  {
  EV <- as.data.frame(eig$vectors[,1:n.candid[i]])
  colnames(EV) <- paste("EV", 1:NCOL(EV), sep="")

  r25.esf.f <- lm(y ~ x1 + x2 +., data = EV)
  assign(paste("r25.esf.", i, sep=""), stepwise.forward(r25.esf.f, lm(y ~ x1
+ x2, data = EV), 0.1, verbose = F))}



--
View this message in context: http://r.789695.n4.nabble.com/parallel-processing-with-foreach-tp4647381.html
Sent from the R help mailing list archive at Nabble.com.