Run a function on all elements of x on one or more cores

lapplyOnCores(x, FUN, NumberOfCores = 1L, ...)

Arguments

x

An object to apply FUN to.

FUN

The function to apply.

NumberOfCores

The number of cores to use (defaulted to 1), truncated to the number of avaliable cores.

...

Additional arguments to FUN.

Value

A list of outputs from FUN.