mirai: Minimalist Async Evaluation Framework for R

Evaluates R expressions asynchronously and in parallel, locally or distributed across networks. An official parallel cluster type for R. Built on 'nanonext' and 'NNG', its non-polling, event-driven architecture scales from a laptop to thousands of processes across high-performance computing clusters and cloud platforms. Features FIFO scheduling with task cancellation, promises for reactive programming, 'OpenTelemetry' distributed tracing, and custom serialization for cross-language data types.

Package details

AuthorCharlie Gao [aut, cre] (ORCID: <https://orcid.org/0000-0002-0750-061X>), Joe Cheng [ctb], Posit Software, PBC [cph, fnd] (ROR: <https://ror.org/03wc8by49>), Hibiki AI Limited [cph]
MaintainerCharlie Gao <charlie.gao@posit.co>
LicenseMIT + file LICENSE
Version2.6.0
URL https://mirai.r-lib.org https://github.com/r-lib/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 Feb. 13, 2026, 9:07 a.m.