Skip to content
Back to formatted view

Raw Message

Message-ID: <CAEQKoCFgUJ60jKj2gnxGcoRRsyVMbyFkh=hXQJv7MEVefyxprg@mail.gmail.com>
Date: 2014-11-14T16:37:43Z
From: Brian Smith
Subject: package multicore: check progress?

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