Package: mirai 2.0.1.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, with the result automatically available upon completion. Modern networking and concurrency built on 'nanonext' and 'NNG' (Nanomsg Next Gen) ensure reliable and efficient scheduling, over fast inter-process communications or TCP/IP secured by TLS. Advantages include being inherently queued thus handling many more tasks than available processes, no storage on the file system, support for otherwise non-exportable reference objects, an event-driven promises implementation, and built-in asynchronous parallel map.

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

mirai_2.0.1.9000.tar.gz
mirai_2.0.1.9000.zip(r-4.5)mirai_2.0.1.9000.zip(r-4.4)mirai_2.0.1.9000.zip(r-4.3)
mirai_2.0.1.9000.tgz(r-4.4-any)mirai_2.0.1.9000.tgz(r-4.3-any)
mirai_2.0.1.9000.tar.gz(r-4.5-noble)mirai_2.0.1.9000.tar.gz(r-4.4-noble)
mirai_2.0.1.9000.tgz(r-4.4-emscripten)mirai_2.0.1.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'))

Peer review:

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

Pkgdown site:https://shikokuchuo.net

On CRAN:

asynchronous-tasksconcurrencydistributed-computinghigh-performance-computingparallel-programmingpromises

11.49 score 202 stars 7 packages 123 scripts 3.6k downloads 34 exports 1 dependencies

Last updated 10 hours agofrom:ab396a9f78. Checks:7 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKJan 17 2025
R-4.5-winOKJan 17 2025
R-4.5-linuxOKJan 17 2025
R-4.4-winOKJan 17 2025
R-4.4-macOKJan 17 2025
R-4.3-winOKJan 17 2025
R-4.3-macOKJan 17 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_configsaiseiserial_configssh_configstatusstop_clusterstop_miraiunresolved

Dependencies:nanonext

mirai - Databases and Arrow

Rendered fromdatabases.Rmdusinglitedown::vignetteon Jan 17 2025.

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

mirai - Minimalist Async Evaluation Framework for R

Rendered frommirai.Rmdusinglitedown::vignetteon Jan 17 2025.

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

mirai - Parallel Integration

Rendered fromparallel.Rmdusinglitedown::vignetteon Jan 17 2025.

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

mirai - Plumber Integration

Rendered fromplumber.Rmdusinglitedown::vignetteon Jan 17 2025.

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

mirai - Promises Integration

Rendered frompromises.Rmdusinglitedown::vignetteon Jan 17 2025.

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

mirai - Shiny Integration

Rendered fromshiny.Rmdusinglitedown::vignetteon Jan 17 2025.

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

mirai - Torch Integration

Rendered fromtorch.Rmdusinglitedown::vignetteon Jan 17 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