Package: mirai 1.2.0

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, with the result 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. 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], Hibiki AI Limited [cph]

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

Peer review:

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

Pkgdown:https://shikokuchuo.net

On CRAN:

asynchronous-tasksconcurrencydistributed-computinghigh-performance-computingparallel-programmingpromises

11.19 score 187 stars 6 packages 90 scripts 3.8k downloads 35 exports 1 dependencies

Last updated 4 months agofrom:f8cc736a0e (on f8cc736a0e5b6b76300da7cecec7a37fbc846215). Checks:OK: 7. Indexed: no.

TargetResultDate
Doc / VignettesOKOct 29 2024
R-4.5-winOKOct 29 2024
R-4.5-linuxOKOct 29 2024
R-4.4-winOKOct 29 2024
R-4.4-macOKOct 29 2024
R-4.3-winOKOct 29 2024
R-4.3-macOKOct 29 2024

Exports:.daemon.flat.progress.stopcall_miraicall_mirai_collect_miraidaemondaemonsdispatchereverywherehost_urlis_error_valueis_miraiis_mirai_erroris_mirai_interruptis_mirai_maplaunch_locallaunch_remotelocal_urlmake_clustermiraimirai_mapnextgetnextstreamregister_clusterremote_configsaiseiserial_configserializationssh_configstatusstop_clusterstop_miraiunresolved

Dependencies:nanonext

mirai - Databases and Arrow

Rendered fromdatabases.Rmdusingknitr::knitron Oct 29 2024.

Last update: 2024-07-24
Started: 2024-05-02

mirai - Minimalist Async Evaluation Framework for R

Rendered frommirai.Rmdusingknitr::knitron Oct 29 2024.

Last update: 2024-08-09
Started: 2023-10-06

mirai - Parallel Integration

Rendered fromparallel.Rmdusingknitr::knitron Oct 29 2024.

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

mirai - Plumber Integration

Rendered fromplumber.Rmdusingknitr::knitron Oct 29 2024.

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

mirai - Promises Integration

Rendered frompromises.Rmdusingknitr::knitron Oct 29 2024.

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

mirai - Shiny Integration

Rendered fromshiny.Rmdusingknitr::knitron Oct 29 2024.

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

mirai - Torch Integration

Rendered fromtorch.Rmdusingknitr::knitron Oct 29 2024.

Last update: 2024-08-09
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