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

# Install 'mirai' in R:
install.packages('mirai', repos = c('https://staging.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

12.58 score 267 stars 24 packages 192 scripts 14k downloads 36 exports 1 dependencies

Last updated from:170d021683 (on v2.4.1). Checks:10 OK. Indexed: no.

TargetResultTotal timeArtifact
linux-devel-x86_64OK167
source / vignettesOK154
linux-release-x86_64OK125
macos-release-arm64OK91
macos-oldrel-arm64OK98
windows-develOK153
windows-releaseOK82
windows-oldrelOK105
wasm-releaseOK99
wasm-oldrelOK129

Exports:.flat.progress.stopcall_miraicluster_configcollect_miraidaemondaemonsdaemons_setdispatchereverywherehost_urlis_error_valueis_miraiis_mirai_erroris_mirai_interruptis_mirai_maplaunch_locallaunch_remotelocal_urlmake_clustermiraimirai_mapnextcodenextgetnextstreamon_daemonregister_serialremote_configrequire_daemonsserial_configssh_configstatusstop_clusterstop_miraiunresolved

Dependencies:nanonext

Communications Backend for R

Rendered fromv04-parallel.Rmdusinglitedown::vignetteon Aug 15 2025.

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

Community FAQs

Rendered fromv06-questions.Rmdusinglitedown::vignetteon Aug 15 2025.

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

For Package Authors

Rendered fromv05-packages.Rmdusinglitedown::vignetteon Aug 15 2025.

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

mirai - Minimalist Async Evaluation Framework for R

Rendered frommirai.Rmdusinglitedown::vignetteon Aug 15 2025.

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

Mirai Map

Rendered fromv01-map.Rmdusinglitedown::vignetteon Aug 15 2025.

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

Promises - Shiny and Plumber

Rendered fromv02-promises.Rmdusinglitedown::vignetteon Aug 15 2025.

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

Serialization - Arrow, ADBC, polars, torch

Rendered fromv03-serialization.Rmdusinglitedown::vignetteon Aug 15 2025.

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