Package: nanonext 1.8.0

Charlie Gao

nanonext: Lightweight Toolkit for Messaging, Concurrency and the Web

R binding for NNG (Nanomsg Next Gen), a successor to ZeroMQ. A toolkit for messaging, concurrency and the web. High-performance socket messaging over in-process, IPC, TCP, WebSocket and secure TLS transports implements 'Scalability Protocols', a standard for common communications patterns including publish/subscribe, request/reply and survey. A threaded concurrency framework with intuitive 'aio' objects that resolve automatically upon completion of asynchronous operations, and synchronisation primitives that allow R to wait on events signalled by concurrent threads. A unified HTTP server hosting REST endpoints, WebSocket connections and streaming on a single port, with a built-in HTTP client.

Authors:Charlie Gao [aut, cre], Posit Software, PBC [cph, fnd], Hibiki AI Limited [cph], R Consortium [fnd]

nanonext_1.8.0.tar.gz
nanonext_1.8.0.zip(r-4.6)nanonext_1.8.0.zip(r-4.5)nanonext_1.8.0.zip(r-4.4)
nanonext_1.8.0.tgz(r-4.6-x86_64)nanonext_1.8.0.tgz(r-4.6-arm64)nanonext_1.8.0.tgz(r-4.5-x86_64)nanonext_1.8.0.tgz(r-4.5-arm64)
nanonext_1.8.0.tar.gz(r-4.6-arm64)nanonext_1.8.0.tar.gz(r-4.6-x86_64)nanonext_1.8.0.tar.gz(r-4.5-arm64)nanonext_1.8.0.tar.gz(r-4.5-x86_64)
nanonext_1.8.0.tgz(r-4.5-emscripten)
nanonext.pdf |nanonext.html
nanonext/json (API)
NEWS

# Install 'nanonext' in R:
install.packages('nanonext', repos = c('https://staging.r-multiverse.org', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/r-lib/nanonext/issues

Pkgdown/docs site:https://nanonext.r-lib.org

Uses libs:
  • mbedtls– Lightweight crypto and SSL/TLS library

On CRAN:

Conda:

concurrencyhttpsipc-messagemessaging-librarynngrpcsocket-communicationsynchronization-primitivestcp-protocolwebsocketmbedtls

13.27 score 76 stars 97 packages 72 scripts 52k downloads 80 exports 0 dependencies

Last updated from:8f17d0b46b (on v1.8.0). Checks:13 OK. Indexed: no.

TargetResultTotal timeArtifact
linux-devel-arm64OK190
linux-devel-x86_64OK198
source / vignettesOK186
linux-release-arm64OK162
linux-release-x86_64OK139
macos-devel-arm64OK180
macos-devel-x86_64OK225
macos-release-arm64OK183
macos-release-x86_64OK289
windows-develOK295
windows-releaseOK263
windows-oldrelOK235
wasm-releaseOK130

Exports:.advance.context.dispatcher.keep.mark.read_header.read_marker.unresolved%~>%call_aiocall_aio_collect_aiocollect_aio_contextcvcv_resetcv_signalcv_valuedialformat_ssehandlerhandler_directoryhandler_filehandler_inlinehandler_redirecthandler_streamhandler_wshttp_serverip_addris_aiois_error_valueis_nanois_ncurl_sessionis_nul_bytelistenmclockmessengermonitormsleepnanoncurlncurl_aioncurl_sessionnng_errornng_versionoptopt<-parse_urlpipe_idpipe_notifyrace_aiorandomread_monitorread_stdinreaprecvrecv_aioreplyrequestsendsend_aioserial_configsocketstatstatus_codestop_aiostop_requeststreamsubscribesurvey_timetls_configtransactunresolvedunsubscribeuntiluntil_waitwait_write_certwrite_stdout

Dependencies:

nanonext - Configuration and Security

Rendered fromv03-configuration.Rmdusinglitedown::vignetteon Feb 09 2026.

Last update: 2026-02-06
Started: 2026-02-06

nanonext - Messaging and Async I/O

Rendered fromv01-messaging.Rmdusinglitedown::vignetteon Feb 09 2026.

Last update: 2026-02-06
Started: 2026-02-06

nanonext - Quick Reference

Rendered fromnanonext.Rmdusinglitedown::vignetteon Feb 09 2026.

Last update: 2026-02-07
Started: 2023-12-18

nanonext - Scalability Protocols

Rendered fromv02-protocols.Rmdusinglitedown::vignetteon Feb 09 2026.

Last update: 2026-02-06
Started: 2026-02-06

nanonext - Web Toolkit

Rendered fromv04-web.Rmdusinglitedown::vignetteon Feb 09 2026.

Last update: 2026-02-08
Started: 2026-02-06

Readme and manuals

Help Manual

Help pageTopics
nanonext: NNG (Nanomsg Next Gen) Lightweight Messaging Librarynanonext-package nanonext
Signal Forwarder%~>%
Make ncurlAio Promiseas.promise.ncurlAio
Make recvAio Promiseas.promise.recvAio
Call the Value of an Asynchronous Aio Operationcall_aio call_aio_
Close Connectionclose close.nanoContext close.nanoDialer close.nanoListener close.nanoServer close.nanoSocket close.nanoStream close.ncurlSession
Collect Data of an Aio or List of Aioscollect_aio collect_aio_
Open Contextcontext
Condition Variablescv cv_reset cv_signal cv_value until until_ wait wait_
Dial an Address from a Socketdial
Format Server-Sent Eventformat_sse
Create HTTP Handlerhandler
Create Static Directory Handlerhandler_directory
Create Static File Handlerhandler_file
Create Inline Static Content Handlerhandler_inline
Create HTTP Redirect Handlerhandler_redirect
Create HTTP Streaming Handlerhandler_stream
Create WebSocket Handlerhandler_ws
Create HTTP/WebSocket Serverhttp_server
IP Addressip_addr
Validatorsis_aio is_nano is_ncurl_session
Error Validatorsis_error_value is_nul_byte
Listen to an Address from a Socketlisten
Clock Utilitymclock
Messengermessenger
Monitor a Socket for Pipe Changesmonitor read_monitor
Sleep Utilitymsleep
Create Nano Objectnano
ncurlncurl
ncurl Asyncncurl_aio
ncurl Sessionncurl_session transact
Translate Error Codesnng_error
NNG Library Versionnng_version
Get and Set Options for a Socket, Context, Stream, Listener or Dialeropt opt<-
Parse URLparse_url
Get the Pipe ID of a recvAiopipe_id
Pipe Notifypipe_notify
Protocols (Documentation)protocols
Race Aiorace_aio
Random Data Generationrandom
Read stdinread_stdin
Reapreap
Receiverecv
Receive Asyncrecv_aio
Reply over Context (RPC Server for Req/Rep Protocol)reply
Request over Context (RPC Client for Req/Rep Protocol)request
Sendsend
Send Asyncsend_aio
Create Serialization Configurationserial_config
Open Socketsocket
Start Listener/Dialerstart start.nanoDialer start.nanoListener
Get Statistic for a Socket, Listener or Dialerstat
Translate HTTP Status Codesstatus_code
Stop Asynchronous Aio Operationstop_aio
Open Streamstream
Subscribe / Unsubscribe Topicsubscribe unsubscribe
Set Survey Timesurvey_time
Create TLS Configurationtls_config
Transports (Documentation)transports
Query if an Aio is Unresolvedunresolved
Generate Self-Signed Certificate and Keywrite_cert
Write to Stdoutwrite_stdout