The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

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. 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. A queued architecture readily handles more tasks than available processes, requiring no storage on the file system. Innovative features include event-driven promises, asynchronous parallel map, and automatic serialization of otherwise non-exportable reference objects.

Version: 2.3.0
Depends: R (≥ 3.6)
Imports: nanonext (≥ 1.6.0)
Suggests: cli, litedown
Enhances: parallel, promises
Published: 2025-05-22
DOI: 10.32614/CRAN.package.mirai
Author: Charlie Gao ORCID iD [aut, cre], Joe Cheng [ctb], Posit Software, PBC ROR ID [cph, fnd], Hibiki AI Limited [cph]
Maintainer: Charlie Gao <charlie.gao at posit.co>
BugReports: https://github.com/r-lib/mirai/issues
License: MIT + file LICENSE
URL: https://mirai.r-lib.org, https://github.com/r-lib/mirai
NeedsCompilation: no
Citation: mirai citation info
Materials: README NEWS
In views: HighPerformanceComputing
CRAN checks: mirai results

Documentation:

Reference manual: mirai.pdf
Vignettes: mirai - Minimalist Async Evaluation Framework for R (source)
1. Daemons (source)
2. Async Parallel Map (source)
3. Promises - Shiny and Plumber (source)
4. Serialization - Arrow, ADBC, polars, torch (source)
5. Mirai Clusters - Base R (source)
6. Guidance for Package Authors (source)
7. Community FAQs (source)

Downloads:

Package source: mirai_2.3.0.tar.gz
Windows binaries: r-devel: mirai_2.3.0.zip, r-release: mirai_2.3.0.zip, r-oldrel: mirai_2.3.0.zip
macOS binaries: r-release (arm64): mirai_2.3.0.tgz, r-oldrel (arm64): mirai_2.3.0.tgz, r-release (x86_64): mirai_2.3.0.tgz, r-oldrel (x86_64): mirai_2.3.0.tgz
Old sources: mirai archive

Reverse dependencies:

Reverse imports: crew, future.mirai, GeomArchetypal, ichimoku, rush
Reverse suggests: logger, mlr3misc, shinyscholar, teal

Linking:

Please use the canonical form https://CRAN.R-project.org/package=mirai to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.