bettermc: Enhanced Fork-Based Parallelization

Drop-in replacement for 'parallel::mclapply()' adding e.g. tracebacks, crash dumps, retries, condition handling, improved seeding, progress bars and faster inter process communication. Some of the internal functions are also exported for other use: 'etry()' (extended try), 'copy2shm()/allocate_from_shm()' (copy to and allocate from POSIX shared memory), 'char_map/map2char()' (split a character vector into its unique elements and a mapping on these) and various semaphore related functions.

Getting started

Package details

AuthorAndreas Kersting [aut, cre, cph], GfK SE [cph], R Core team [ctb] ('etry()' and its print method borrow a lot from base R)
MaintainerAndreas Kersting <andreas.kersting@gfk.com>
LicenseMIT + file LICENSE
Version1.2.1
URL https://github.com/gfkse/bettermc
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("bettermc")

Try the bettermc package in your browser

Any scripts or data that you put into this service are public.

bettermc documentation built on April 14, 2023, 12:31 a.m.