Published May 8, 2026
| Version v2.7.0
Software
Open
r-lib/mirai: mirai 2.7.0
Description
New Features
- Dispatcher reimplemented as a thread for lower overhead, removing the separate dispatcher process (#581).
- Adds
memoryargument todaemons()setting a memory budget (MB, metric) for queued task payloads at dispatcher, providing memory-based backpressure. This is opt-in andNULL(default) is unbounded (thanks @t-kalinowski, #454). Current and peak queued bytes (in MB) are surfaced under thememoryfield ofstatus(). - Adds
try_mirai(), a non-blocking variant ofmirai()that returnsNULLimmediately if the dispatcher'smemorybudget is exhausted, instead of blocking. Useful in event-loop contexts (Shiny, promises) where blocking the host R thread is unacceptable.
Updates
http_config()accepts...forwarded todatawhen it is a function. This allows specifying custom resources as additional arguments, which are documented for Posit Workbench (thanks @michaelmayer2, #592).- Fixes
ssh_config()dropping the username from SSH URLs e.g.ssh://user@host(#583). - Fixes transfer of large data (> ~2GB) on MacOS and Windows (#579).
- Fixes
mirai_map()progress bar customization issues (thanks @mcol, #519). - Fixes
launch_remote()withhttp_config()failing for TLS connections, where newlines in the PEM certificate produced invalid JSON in the request payload. - Improved performance and reduced memory consumption through optimizations in the underlying nanonext/NNG transport layer.
- Requires nanonext >= [1.8.2.9000].
Files
r-lib/mirai-v2.7.0.zip
Files
(561.4 kB)
| Name | Size | Download all |
|---|---|---|
|
md5:2ad8fef1e163c97dcc75aff5a2dd4fed
|
561.4 kB | Preview Download |
Additional details
Related works
- Is supplement to
- Software: https://github.com/r-lib/mirai/tree/v2.7.0 (URL)
Software
- Repository URL
- https://github.com/r-lib/mirai