Skip to contents

Depending on whether SetParallel has been called, execute in parallel or not.

Usage

psapply(..., seed = NULL)

plapply(..., seed = NULL)

Arguments

...

forwarded to lapply or parallel::mclapply

seed

Seed for the random number generator

Value

a vector (psapply) or list (plapply)

Details

If the code uses random number specify the seed to make it deterministic