mc.system.time
argument and also skip other related tests, which are sensitive to timings, on CRANparallel::mclapply()
with bettermc::mclapply()
via the bettermcExt-package on GitHub;
this enables the use of bettermc::mclapply()
by third-party packages originally using mclapply()
from the parallel-package, e.g. doMC or rstanmc.use.names
)etry()
(and hence also from mclapply()
) now contain an overview of the local variables and their values (essentially the output of ls.str()
applied to all the frames on the call stack)mc.system.time
to mclapply()
: if TRUE
measure and return the CPU (and other) times used by the invocations of FUN
mc.allow.fatal
and mc.allow.error
to mclapply()
gain a new valid value: NA
, which is the same as TRUE
, but suppresses the warnings which would normally signal that there was a (fatal) errorATTRIB()
and OBJECT()
SEXPREC_ALIGN
This package can now also be installed on Windows, where it offers a reduced set of features.
Most notably, bettermc::mclapply()
(just like parallel::mclapply()
) falls back on serial execution, since forking is not available on Windows.
Still, this allows code employing bettermc::mclapply()
, which was originally developed for Linux or macOS, to be run on Windows.
mclapply()
to what it was before; this makes the RNG state of the parent process immune to changes to arguments such as mc.cores
or mc.force.fork
mc.retry.fixed.seed
to mclapply()
: TRUE
invokes FUN()
for a particular element of X
with the same fixed seed on every retry; default is FALSE
mc.retry.silent
to mclapply()
: TRUE
suppresses the messages indicating failures during intermediate retires; default is FALSE
X
mclapply()
in a session, the environment variable MC_CORES was not respectedmc.force.fork == TRUE && length(X) == 1
allocate_from_shm()
allocate_from_shm()
allocate_from_shm()
for Valgrind as defined (cf. https://stat.ethz.ch/pipermail/r-devel/2021-March/080572.html)Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.