Learn R Programming

bettermc (version 1.2.1)

Enhanced Fork-Based Parallelization

Description

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.

Copy Link

Version

Install

install.packages('bettermc')

Monthly Downloads

145

Version

1.2.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Last Published

April 12th, 2023

Functions in bettermc (1.2.1)

copy2shm

Copy to and Allocate from POSIX Shared Memory
mclapply

parallel::mclapply Wrapper for Better Performance, Error Handling, Seeding and UX
overloading-mclapply

Overload parallel::mclapply With bettermc::mclapply
compress_chars

Recursively Call char_map/map2char on a List
etry

Extended try
char_map

Split a Character Vector into its Unique Elements and a Mapping on These
sem

Named POSIX Semaphores
semv

POSIX-style System V Semaphores