Package: mirai 2.5.1

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.1.tar.gz
mirai_2.5.1.zip(r-4.6)mirai_2.5.1.zip(r-4.5)mirai_2.5.1.zip(r-4.4)
mirai_2.5.1.tgz(r-4.5-any)mirai_2.5.1.tgz(r-4.4-any)
mirai_2.5.1.tar.gz(r-4.6-any)mirai_2.5.1.tar.gz(r-4.5-any)
mirai_2.5.1.tgz(r-4.5-emscripten)
mirai.pdf |mirai.html
mirai/json (API)
NEWS

# Install 'mirai' in R:
install.packages('mirai', repos = c('https://community.r-multiverse.org', '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.79 score 287 stars 60 packages 211 scripts 50k downloads 40 exports 1 dependencies

Last updated from:dc9a126952 (on v2.5.1). Checks:9 OK. Indexed: no.

TargetResultTotal timeArtifact
linux-devel-x86_64OK121
source / vignettesOK495
linux-release-x86_64OK126
macos-release-arm64OK146
macos-oldrel-arm64OK130
windows-develOK144
windows-releaseOK93
windows-oldrelOK92
wasm-releaseOK91

Exports:.flat.progress.stopcall_miraicluster_configcollect_miraidaemondaemonsdaemons_setdispatchereverywherehost_urlinfois_error_valueis_miraiis_mirai_erroris_mirai_interruptis_mirai_maplaunch_locallaunch_remotelocal_daemonslocal_urlmake_clustermiraimirai_mapnextcodenextgetnextstreamon_daemonrace_mirairegister_serialremote_configrequire_daemonsserial_configssh_configstatusstop_clusterstop_miraiunresolvedwith_daemons

Dependencies:nanonext

Communications Backend for R

Rendered fromv04-parallel.Rmdusinglitedown::vignetteon Oct 06 2025.

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

Community FAQs

Rendered fromv07-questions.Rmdusinglitedown::vignetteon Oct 06 2025.

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

For Package Authors

Rendered fromv06-packages.Rmdusinglitedown::vignetteon Oct 06 2025.

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

mirai - Minimalist Async Evaluation Framework for R

Rendered frommirai.Rmdusinglitedown::vignetteon Oct 06 2025.

Last update: 2025-10-05
Started: 2023-10-06

Mirai Map

Rendered fromv01-map.Rmdusinglitedown::vignetteon Oct 06 2025.

Last update: 2025-10-05
Started: 2025-07-15

OpenTelemetry

Rendered fromv05-opentelemetry.Rmdusinglitedown::vignetteon Oct 06 2025.

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

Promises - Shiny and Plumber

Rendered fromv02-promises.Rmdusinglitedown::vignetteon Oct 06 2025.

Last update: 2025-10-05
Started: 2025-07-15

Serialization - Arrow, ADBC, polars, torch

Rendered fromv03-serialization.Rmdusinglitedown::vignetteon Oct 06 2025.

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