Package: mizu 0.1.1.9000
mizu: Thread-Speed Async and Parallel R over Shared Memory
Parallel computation and data exchange between R processes on the same machine: lock-free channels, work-stealing task pools, and a parallel map over 'POSIX' shared memory (Linux, macOS) or 'Win32' file mappings (Windows), with the hot path entirely in user space. Communication is cheap enough that work can be divided as finely as with threads. Vectors and data frames transfer zero-copy, received as 'ALTREP' views over the shared pages, and 'Apache Arrow' tables and record batches travel as a single frame with zero-copy conversion in both directions. Receives and task results integrate with 'later' and 'promises' for non-blocking, event-driven applications such as 'shiny'. Channels, pools, and maps interoperate with 'pymizu', so a peer or worker can equally be a Python process. It complements 'mirai', and its payloads interoperate with 'mori' shared objects.
Authors:
mizu_0.1.1.9000.tar.gz
mizu_0.1.1.9000.zip(r-4.7-x86_64)mizu_0.1.1.9000.zip(r-4.7-arm64)mizu_0.1.1.9000.zip(r-4.6-x86_64)mizu_0.1.1.9000.zip(r-4.6-arm64)mizu_0.1.1.9000.zip(r-4.5-x86_64)
mizu_0.1.1.9000.tgz(r-4.6-x86_64)mizu_0.1.1.9000.tgz(r-4.6-arm64)mizu_0.1.1.9000.tgz(r-4.5-x86_64)mizu_0.1.1.9000.tgz(r-4.5-arm64)
mizu_0.1.1.9000.tar.gz(r-4.7-arm64)mizu_0.1.1.9000.tar.gz(r-4.7-x86_64)mizu_0.1.1.9000.tar.gz(r-4.6-arm64)mizu_0.1.1.9000.tar.gz(r-4.6-x86_64)
mizu_0.1.1.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
mizu/json (API)
| # Install 'mizu' in R: |
| install.packages('mizu', repos = c('https://shikokuchuo.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/shikokuchuo/mizu/issues
Pkgdown/docs site:https://shikokuchuo.net
asynchronous-programmingshared-memory-parallelismquarto
Last updated from:593ce8b1c7. Checks:4 ERROR, 11 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | ERROR | 203 | ||
| linux-devel-x86_64 | ERROR | 187 | ||
| source / vignettes | OK | 201 | ||
| linux-release-arm64 | ERROR | 186 | ||
| linux-release-x86_64 | ERROR | 151 | ||
| macos-release-arm64 | OK | 187 | ||
| macos-release-x86_64 | OK | 328 | ||
| macos-oldrel-arm64 | OK | 194 | ||
| macos-oldrel-x86_64 | OK | 272 | ||
| windows-devel-arm64 | OK | 486 | ||
| windows-devel-x86_64 | OK | 587 | ||
| windows-release-arm64 | OK | 567 | ||
| windows-release-x86_64 | OK | 302 | ||
| windows-oldrel-x86_64 | OK | 204 | ||
| wasm-release | OK | 88 |
Exports:mizu_alivemizu_as_arrowmizu_callmizu_cancelmizu_channelmizu_channel_infomizu_closemizu_collectmizu_collect_allmizu_collect_all_asyncmizu_collect_anymizu_collect_any_asyncmizu_collect_asyncmizu_current_poolmizu_default_poolmizu_is_remote_errormizu_is_sentinelmizu_launchermizu_local_poolmizu_mapmizu_map_preparemizu_map_runmizu_poolmizu_pool_attachmizu_pool_dumpmizu_pool_infomizu_pool_statsmizu_pool_stopmizu_pool_tracemizu_prunemizu_py_launchermizu_recvmizu_recv_asyncmizu_recv_batchmizu_recv_batch_asyncmizu_recv_handlermizu_retire_workermizu_sendmizu_send_batchmizu_set_default_poolmizu_spawn_workersmizu_submitmizu_submit_batchmizu_submit_callmizu_with_pool
Dependencies:
Last update: 2026-11-03
Started: 2026-10-01
Last update: 2026-11-03
Started: 2026-10-01
Last update: 2026-11-03
Started: 2026-10-01
Last update: 2026-11-03
Started: 2026-10-01
Last update: 2026-11-03
Started: 2026-10-01
Last update: 2026-11-02
Started: 2026-10-01
Last update: 2026-11-02
Started: 2026-10-01
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Check Whether the Channel Peer Is Alive | mizu_alive |
| Convert a Received Frame to an Arrow Stream | mizu_as_arrow |
| Call a Function in Another Language | mizu_call mizu_submit_call |
| Cancel a Task or a Map | mizu_cancel |
| Create a Channel and Spawn Its Peer | mizu_channel |
| Inspect a Channel | mizu_channel_info |
| Close a Channel | mizu_close |
| Collect the Results of Several Tasks, in Order | mizu_collect_all |
| Collect Pool Results as Promises | as.promise.mizu_map as.promise.mizu_task is.promising.mizu_map is.promising.mizu_task mizu_collect_all_async mizu_collect_any_async mizu_collect_async |
| Collect the First Available Result From Several Tasks | mizu_collect_any |
| The Evaluating Worker's Own Pool Handle | mizu_current_pool |
| The Process-Wide Default Pool | mizu_default_pool mizu_local_pool mizu_set_default_pool mizu_with_pool |
| Error Conditions | mizu_error mizu_error_cancelled mizu_error_not_portable mizu_error_python_payload mizu_error_remote mizu_error_shm mizu_error_slots_exhausted mizu_error_startup mizu_error_stopped mizu_error_submit_timeout mizu_error_task_lost mizu_error_worker_died |
| Remote Errors | mizu_is_remote_error |
| Test for a mizu Sentinel | mizu_is_sentinel |
| Default Child Process Launcher | mizu_launcher |
| Parallel Map Over a Pool | mizu_map |
| Prepared Maps: Stage Once, Run Many | mizu_map_prepare mizu_map_run |
| Create a Task Pool and Spawn Its Workers | mizu_pool |
| Attach to a Pool as a Submitter | mizu_pool_attach |
| Dump the Distributed State of a Pool | mizu_pool_dump |
| Inspect a Pool | mizu_pool_info |
| Cumulative Pool Counters | mizu_pool_stats |
| Stop a Pool | mizu_pool_stop |
| Trace Task Lifecycle Events | mizu_pool_trace |
| Remove Orphaned Shared Memory Regions | mizu_prune |
| Python Launcher | mizu_py_launcher |
| Receive Channel Messages as a Promise or a Stream | as.promise.mizu_channel is.promising.mizu_channel mizu_recv_async mizu_recv_batch_async mizu_recv_handler |
| Send and Receive over a Channel | mizu_recv mizu_send |
| Batched Send and Receive | mizu_recv_batch mizu_send_batch |
| Grow or Shrink the Worker Set of a Pool | mizu_retire_worker mizu_spawn_workers |
| Submit a Task and Collect Its Result | mizu_collect mizu_submit |
| Submit a Batch of Tasks | mizu_submit_batch |
| Print Methods for mizu Objects | print.mizu_call print.mizu_channel print.mizu_error_remote print.mizu_map print.mizu_map_prepared print.mizu_pool print.mizu_sentinel print.mizu_task |
