Hi All.

I'm using <i>parApply</i>() function in "snow" package for parallel computing 
(boostrapping repeating calculation), as the follows:
MyBoostrapping <- function( i ){
     .....
}
cl <- makeCluster( ncluster, type = "SOCK") 
i.circle <- as.matrix( 1:128, , 1)
parApply( cl, i.circle, 1, FUN = MyBoostrapping)
It works.
However, I want to set more than one arguments to function MyBoostrapping.
Would you please help me on it?
Thank you very much.

Best,
Winston


2012-11-21 



winston87 

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to