sclapply: Scheduled parallel processing
Description
Scheduled parallel processing
Usage
sclapply(inext, fun, max.parallel.jobs, ..., stop.onfail = TRUE, tracefun = NULL, tracefun.period = 60)
Arguments
inext
A function (without argument) returning an object to process; NULL if none left; this function is run in the main thread
fun
Function to process the object returned by inext; this function is run in children thread
max.parallel.jobs
Number of jobs to start in parallel
...
Further arguments passed to fun
stop.onfail
Throw error if one
tracefun
Callback function that will be executed in a separate thread
tracefun.period
Time intervall between calls to tracefun
Value
Return value of applied function