Package: mirai 1.3.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]

mirai_1.3.1.9000.tar.gz
mirai_1.3.1.9000.zip(r-4.5)mirai_1.3.1.9000.zip(r-4.4)mirai_1.3.1.9000.zip(r-4.3)
mirai_1.3.1.9000.tgz(r-4.4-any)mirai_1.3.1.9000.tgz(r-4.3-any)
mirai_1.3.1.9000.tar.gz(r-4.5-noble)mirai_1.3.1.9000.tar.gz(r-4.4-noble)
mirai_1.3.1.9000.tgz(r-4.4-emscripten)mirai_1.3.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

On CRAN:

asynchronous-tasksconcurrencydistributed-computinghigh-performance-computingparallel-programmingpromises

11.43 score 193 stars 7 packages 94 scripts 3.9k downloads 34 exports 1 dependencies

Last updated 9 hours agofrom:6db5360308. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 18 2024
R-4.5-winOKNov 18 2024
R-4.5-linuxOKNov 18 2024
R-4.4-winOKNov 18 2024
R-4.4-macOKNov 18 2024
R-4.3-winOKNov 18 2024
R-4.3-macOKNov 18 2024

Exports:.flat.progress.progress_cli.stopcall_miraicall_mirai_collect_miraidaemondaemonsdispatchereverywherehost_urlis_error_valueis_miraiis_mirai_erroris_mirai_interruptis_mirai_maplaunch_locallaunch_remotelocal_urlmake_clustermiraimirai_mapnextgetnextstreamregister_clusterremote_configsaiseiserial_configssh_configstatusstop_clusterstop_miraiunresolved

Dependencies:nanonext

mirai - Databases and Arrow

Rendered fromdatabases.Rmdusinglitedown::vignetteon Nov 18 2024.

Last update: 2024-10-04
Started: 2024-05-02

mirai - Minimalist Async Evaluation Framework for R

Rendered frommirai.Rmdusinglitedown::vignetteon Nov 18 2024.

Last update: 2024-11-15
Started: 2023-10-06

mirai - Parallel Integration

Rendered fromparallel.Rmdusinglitedown::vignetteon Nov 18 2024.

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

mirai - Plumber Integration

Rendered fromplumber.Rmdusinglitedown::vignetteon Nov 18 2024.

Last update: 2024-10-08
Started: 2024-01-10

mirai - Promises Integration

Rendered frompromises.Rmdusinglitedown::vignetteon Nov 18 2024.

Last update: 2024-09-17
Started: 2024-01-11

mirai - Shiny Integration

Rendered fromshiny.Rmdusinglitedown::vignetteon Nov 18 2024.

Last update: 2024-10-07
Started: 2024-01-10

mirai - Torch Integration

Rendered fromtorch.Rmdusinglitedown::vignetteon Nov 18 2024.

Last update: 2024-08-20
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
Saisei (Regenerate Token)saisei
Create Serialization Configurationserial_config
Status Informationstatus
mirai (Stop)stop_mirai
Query if a mirai is Unresolvedunresolved
With Mirai Daemonswith.miraiDaemons