Hi,

I use multicore package quite a lot. However, I want to find a way to check
on the progress of my job. For example:

ftest <- function(x){
if(x %% 100 == 0) print(x)
y <- 2x

return(y)
}

res <- mclapply(1:1000,ftest)


This would print the value of x in a for loop, but doesn't produce anything
when using the mclapply function.

Is there a way to check on the progress of the job?

thanks!

        [[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