Package: nanonext 1.6.0

Charlie Gao

nanonext: NNG (Nanomsg Next Gen) Lightweight Messaging Library

R binding for NNG (Nanomsg Next Gen), a successor to ZeroMQ. NNG is a socket library for reliable, high-performance 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 service discovery. As its own threaded concurrency framework, provides a toolkit for asynchronous programming and distributed computing. Intuitive 'aio' objects resolve automatically when asynchronous operations complete, and synchronisation primitives allow R to wait upon events signalled by concurrent threads.

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

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

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

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

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

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

On CRAN:

Conda:

concurrencyhttpsipc-messagemessaging-librarynngrpcsocket-communicationsynchronization-primitivestcp-protocolwebsocketmbedtls

8.66 score 62 stars 9 packages 30 scripts 3.9k downloads 70 exports 0 dependencies

Last updated 3 days agofrom:f147d61ad7 (on v1.6.0). Checks:13 OK. Indexed: no.

TargetResultTotal time
source / vignettesOK181
linux-devel-x86_64OK130
linux-devel-arm64OK118
linux-release-x86_64OK164
linux-release-arm64OK138
macos-release-x86_64OK156
macos-release-arm64OK115
macos-oldrel-x86_64OK217
macos-oldrel-arm64OK90
windows-develOK211
windows-releaseOK245
windows-oldrelOK242
wasm-releaseOK154

Exports:.advance.context.header.interrupt.keep.mark.read_header.read_marker.unresolved%~>%call_aiocall_aio_collect_aiocollect_aio_contextcvcv_resetcv_signalcv_valuedialip_addris_aiois_error_valueis_nanois_ncurl_sessionis_nul_bytelistenmclockmessengermonitormsleepnanoncurlncurl_aioncurl_sessionnng_errornng_versionoptopt<-parse_urlpipe_idpipe_notifyrandomread_monitorread_stdinreaprecvrecv_aioreplyrequestsendsend_aioserial_configsocketstatstatus_codestop_aiostreamsubscribesurvey_timetls_configtransactunresolvedunsubscribeuntiluntil_waitwait_write_certwrite_stdout

Dependencies:

nanonext - NNG Lightweight Messaging Library

Rendered fromnanonext.Rmdusinglitedown::vignetteon May 20 2025.

Last update: 2025-04-23
Started: 2023-12-18

Readme and manuals

Help Manual

Help pageTopics
nanonext: NNG (Nanomsg Next Gen) Lightweight Messaging Librarynanonext-package nanonext
Technical Utility: Open Context.context
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.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
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
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