sclapply: Scheduled parallel processing

Description Usage Arguments Value

View source: R/tools.R

Description

Scheduled parallel processing

Usage

1
2
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


HTSeqGenie documentation built on Nov. 8, 2020, 6:12 p.m.