[R] package multicore: check progress?

Brian Smith bsmith030465 at gmail.com
Fri Nov 14 17:37:43 CET 2014


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



More information about the R-help mailing list