mirai-package: mirai: Minimalist Async Evaluation Framework for R

mirai-packageR Documentation

mirai: Minimalist Async Evaluation Framework for R

Description

moving already

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.

Notes

For local mirai requests, the default transport for inter-process communications is platform-dependent: abstract Unix domain sockets on Linux, Unix domain sockets on MacOS, Solaris and other POSIX platforms, and named pipes on Windows.

This may be overridden by specifying 'url' in daemons() and launching daemons using launch_local().

OpenTelemetry

mirai provides comprehensive OpenTelemetry tracing support for observing asynchronous operations and distributed computation. Please refer to the OpenTelemetry vignette for further details: vignette("v05-opentelemetry", package = "mirai")

Reference Manual

vignette("mirai", package = "mirai")

Author(s)

Maintainer: Charlie Gao charlie.gao@posit.co (ORCID)

Other contributors:

  • Joe Cheng joe@posit.co [contributor]

  • Posit Software, PBC (ROR) [copyright holder, funder]

  • Hibiki AI Limited [copyright holder]

See Also

Useful links:


mirai documentation built on Feb. 13, 2026, 9:07 a.m.