Package: mirai 2.5.0

Charlie Gao

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', ensures reliable scheduling over fast inter-process communications or TCP/IP secured by TLS. Launch remote resources via SSH or cluster managers for distributed computing. Scales efficiently to millions of tasks over thousands of connections, requiring no storage on the file system due to its inherently queued architecture. Innovative features include event-driven promises, asynchronous parallel map, and seamless serialization of otherwise non-exportable reference objects.

Authors:Charlie Gao [aut, cre], Joe Cheng [ctb], Posit Software, PBC [cph, fnd], Hibiki AI Limited [cph]

mirai_2.5.0.tar.gz
mirai_2.5.0.zip(r-4.6)mirai_2.5.0.zip(r-4.5)mirai_2.5.0.zip(r-4.4)
mirai_2.5.0.tgz(r-4.5-any)mirai_2.5.0.tgz(r-4.4-any)
mirai_2.5.0.tar.gz(r-4.6-any)mirai_2.5.0.tar.gz(r-4.5-any)
mirai_2.5.0.tgz(r-4.5-emscripten)
mirai.pdf |mirai.html
mirai/json (API)
NEWS

# Install 'mirai' in R:
install.packages('mirai', repos = c('https://test.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/r-lib/mirai/issues

Pkgdown site:https://mirai.r-lib.org

On CRAN:

Conda:

asyncasynchronous-tasksconcurrencydistributed-computinghigh-performance-computingparallel-computing

13.00 score 273 stars 27 packages 211 scripts 23k downloads 39 exports 1 dependencies

Last updated from:efc5c3cfba (on v2.5.0). Checks:9 OK. Indexed: no.

TargetResultTotal timeArtifact
linux-devel-x86_64OK126
source / vignettesOK151
linux-release-x86_64OK131
macos-release-arm64OK97
macos-oldrel-arm64OK83
windows-develOK93
windows-releaseOK78
windows-oldrelOK83
wasm-releaseOK108

Exports:.flat.progress.stopcall_miraicluster_configcollect_miraidaemondaemonsdaemons_setdispatchereverywherehost_urlinfois_error_valueis_miraiis_mirai_erroris_mirai_interruptis_mirai_maplaunch_locallaunch_remotelocal_daemonslocal_urlmake_clustermiraimirai_mapnextcodenextgetnextstreamon_daemonregister_serialremote_configrequire_daemonsserial_configssh_configstatusstop_clusterstop_miraiunresolvedwith_daemons

Dependencies:nanonext

Communications Backend for R

Rendered fromv04-parallel.Rmdusinglitedown::vignetteon Sep 04 2025.

Last update: 2025-08-06
Started: 2025-07-15

Community FAQs

Rendered fromv07-questions.Rmdusinglitedown::vignetteon Sep 04 2025.

Last update: 2025-09-03
Started: 2025-09-02

For Package Authors

Rendered fromv06-packages.Rmdusinglitedown::vignetteon Sep 04 2025.

Last update: 2025-09-02
Started: 2025-09-02

mirai - Minimalist Async Evaluation Framework for R

Rendered frommirai.Rmdusinglitedown::vignetteon Sep 04 2025.

Last update: 2025-09-04
Started: 2023-10-06

Mirai Map

Rendered fromv01-map.Rmdusinglitedown::vignetteon Sep 04 2025.

Last update: 2025-09-03
Started: 2025-07-15

OpenTelemetry

Rendered fromv05-opentelemetry.Rmdusinglitedown::vignetteon Sep 04 2025.

Last update: 2025-09-03
Started: 2025-09-02

Promises - Shiny and Plumber

Rendered fromv02-promises.Rmdusinglitedown::vignetteon Sep 04 2025.

Last update: 2025-08-06
Started: 2025-07-15

Serialization - Arrow, ADBC, polars, torch

Rendered fromv03-serialization.Rmdusinglitedown::vignetteon Sep 04 2025.

Last update: 2025-08-06
Started: 2025-07-15