Package: mirai 2.1.0.9000

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. The result is automatically available upon completion. 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. An inherently queued architecture handles many more tasks than available processes, and requires no storage on the file system. Innovative features include support for otherwise non-exportable reference objects, event-driven promises, and asynchronous parallel map.

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

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

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

Bug tracker:https://github.com/shikokuchuo/mirai/issues

Pkgdown site:https://shikokuchuo.net

On CRAN:

asyncasynchronous-tasksconcurrencydistributed-computinghigh-performance-computingparallel-computing

11.97 score 208 stars 7 packages 127 scripts 5.1k downloads 33 exports 1 dependencies

Last updated 0 hours agofrom:1f762e8419. Checks:8 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKFeb 20 2025
R-4.5-winOKFeb 20 2025
R-4.5-macOKFeb 20 2025
R-4.5-linuxOKFeb 20 2025
R-4.4-winOKFeb 20 2025
R-4.4-macOKFeb 20 2025
R-4.3-winOKFeb 20 2025
R-4.3-macOKFeb 20 2025

Exports:.flat.progress.stopcall_miraicall_mirai_collect_miraidaemondaemonsdispatchereverywherehost_urlis_error_valueis_miraiis_mirai_erroris_mirai_interruptis_mirai_maplaunch_locallaunch_remotelocal_urlmake_clustermiraimirai_mapnextcodenextgetnextstreamregister_clusterremote_configserial_configssh_configstatusstop_clusterstop_miraiunresolved

Dependencies:nanonext

mirai - Databases and Arrow

Rendered fromdatabases.Rmdusinglitedown::vignetteon Feb 20 2025.

Last update: 2025-01-06
Started: 2024-05-02

mirai - Minimalist Async Evaluation Framework for R

Rendered frommirai.Rmdusinglitedown::vignetteon Feb 20 2025.

Last update: 2025-01-28
Started: 2023-10-06

mirai - Parallel Integration

Rendered fromparallel.Rmdusinglitedown::vignetteon Feb 20 2025.

Last update: 2024-12-30
Started: 2024-01-10

mirai - Plumber Integration

Rendered fromplumber.Rmdusinglitedown::vignetteon Feb 20 2025.

Last update: 2024-12-30
Started: 2024-01-10

mirai - Promises Integration

Rendered frompromises.Rmdusinglitedown::vignetteon Feb 20 2025.

Last update: 2025-02-15
Started: 2024-01-11

mirai - Shiny Integration

Rendered fromshiny.Rmdusinglitedown::vignetteon Feb 20 2025.

Last update: 2025-01-15
Started: 2024-01-10

mirai - Torch Integration

Rendered fromtorch.Rmdusinglitedown::vignetteon Feb 20 2025.

Last update: 2025-01-06
Started: 2024-01-10

Readme and manuals

Help Manual

Help pageTopics
mirai: Minimalist Async Evaluation Framework for Rmirai-package
Make Mirai Promiseas.promise.mirai
mirai (Call Value)call_mirai call_mirai_
mirai (Collect Value)collect_mirai
Daemon Instancedaemon
Daemons (Set Persistent Processes)daemons
Dispatcherdispatcher
Evaluate Everywhereeverywhere
URL Constructorshost_url local_url
Is mirai / mirai_mapis_mirai is_mirai_map
Error Validatorsis_error_value is_mirai_error is_mirai_interrupt
Launch Daemonlaunch_local launch_remote
Make Mirai Clustermake_cluster stop_cluster
mirai (Evaluate Async)mirai
mirai Mapmirai_map
Generic and SSH Remote Launch Configurationremote_config ssh_config
Create Serialization Configurationserial_config
Status Informationstatus
mirai (Stop)stop_mirai
Query if a mirai is Unresolvedunresolved
With Mirai Daemonswith.miraiDaemons