mirai: Minimalist Async Evaluation Framework for R

Designed for simplicity, a 'mirai' evaluates an R expression asynchronously in a parallel process, locally or distributed over the network. The result is automatically available upon completion. Modern networking and concurrency, built on 'nanonext' and 'NNG' (Nanomsg Next Gen), ensures reliable and efficient scheduling over fast inter-process communications or TCP/IP secured by TLS. Distributed computing can launch remote resources via SSH or cluster managers. An inherently queued architecture handles many more tasks than available processes, and requires no storage on the file system. Innovative features include support for otherwise non-exportable reference objects, event-driven promises, and asynchronous parallel map.

Package details

AuthorCharlie Gao [aut, cre] (<https://orcid.org/0000-0002-0750-061X>), Joe Cheng [ctb], Hibiki AI Limited [cph], Posit Software, PBC [cph]
MaintainerCharlie Gao <charlie.gao@shikokuchuo.net>
LicenseGPL (>= 3)
Version2.2.0
URL https://shikokuchuo.net/mirai/ https://github.com/shikokuchuo/mirai
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("mirai")

Try the mirai package in your browser

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

mirai documentation built on April 4, 2025, 12:27 a.m.