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.
| Version: | 0.1.0 |
| Depends: | R (≥ 4.3) |
| Suggests: | arrow, bit64, later, mori, nanoarrow, promises, quarto, rlang, testthat (≥ 3.0.0) |
| Published: | 2026-11-04 |
| DOI: | 10.32614/CRAN.package.mizu |
| Author: | Charlie Gao |
| Maintainer: | Charlie Gao <charlie.gao at posit.co> |
| BugReports: | https://github.com/shikokuchuo/mizu/issues |
| License: | MIT + file LICENSE |
| URL: | https://shikokuchuo.net/mizu/, https://github.com/shikokuchuo/mizu |
| NeedsCompilation: | yes |
| Materials: | README, NEWS |
| CRAN checks: | mizu results [issues need fixing before 2026-11-26] |
| Reference manual: | mizu.html , mizu.pdf |
| Vignettes: |
Benchmarks (source) Channels (source) Python interop (source) Parallel map (source) Introduction to mizu (source) Operations (source) Task pools (source) |
| Package source: | mizu_0.1.0.tar.gz |
| Windows binaries: | r-devel: mizu_0.0.1.zip, r-release: mizu_0.0.1.zip, r-oldrel: mizu_0.0.1.zip |
| macOS binaries: | r-release (arm64): mizu_0.1.0.tgz, r-oldrel (arm64): mizu_0.1.0.tgz, r-release (x86_64): mizu_0.1.0.tgz, r-oldrel (x86_64): mizu_0.1.0.tgz |
| Old sources: | mizu archive |
Please use the canonical form https://CRAN.R-project.org/package=mizu to link to this page.