Package: nanonext 1.3.2

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 implementing 'Scalability Protocols', a reliable, high-performance standard for common communications patterns including publish/subscribe, request/reply and service discovery, over in-process, IPC, TCP, WebSocket and secure TLS transports. As its own threaded concurrency framework, provides a toolkit for asynchronous programming and distributed computing, with intuitive 'aio' objects which resolve automatically upon completion of asynchronous operations, and synchronisation primitives allowing R to wait upon events signalled by concurrent threads.

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

nanonext_1.3.2.tar.gz
nanonext_1.3.2.zip(r-4.5)nanonext_1.3.2.zip(r-4.4)nanonext_1.3.2.zip(r-4.3)
nanonext_1.3.2.tgz(r-4.4-x86_64)nanonext_1.3.2.tgz(r-4.4-arm64)nanonext_1.3.2.tgz(r-4.3-x86_64)nanonext_1.3.2.tgz(r-4.3-arm64)
nanonext_1.3.2.tar.gz(r-4.5-noble)nanonext_1.3.2.tar.gz(r-4.4-noble)
nanonext_1.3.2.tgz(r-4.4-emscripten)nanonext_1.3.2.tgz(r-4.3-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'))

Peer review:

Bug tracker:https://github.com/shikokuchuo/nanonext/issues

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

On CRAN:

concurrencyhttpsipc-messagemessaging-librarynanomsgnngrpcsocket-communicationsynchronization-primitivestcp-protocolwebsocket

9.89 score 59 stars 9 packages 25 scripts 7.6k downloads 65 exports 0 dependencies

Last updated 7 days agofrom:0027f9c7cd (on v1.3.2). Checks:OK: 9. Indexed: no.

TargetResultDate
Doc / VignettesOKNov 14 2024
R-4.5-win-x86_64OKNov 14 2024
R-4.5-linux-x86_64OKNov 14 2024
R-4.4-win-x86_64OKNov 14 2024
R-4.4-mac-x86_64OKNov 14 2024
R-4.4-mac-aarch64OKNov 14 2024
R-4.3-win-x86_64OKNov 14 2024
R-4.3-mac-x86_64OKNov 14 2024
R-4.3-mac-aarch64OKNov 14 2024

Exports:.advance.context.dispatcher.keep.mark.online.unresolved%~>%call_aiocall_aio_collect_aiocollect_aio_collect_pipecontextcvcv_resetcv_signalcv_valuedialis_aiois_error_valueis_nanois_ncurl_sessionis_nul_bytelistenlockmclockmessengermsleepnanoncurlncurl_aioncurl_sessionnng_errornng_versionoptopt<-parse_urlpipe_notifyrandomreaprecvrecv_aioreplyrequestsendsend_aioserial_configsocketstatstatus_codestop_aiostreamsubscribesurvey_timetls_configtransactunlockunresolvedunsubscribeuntiluntil_waitwait_write_cert

Dependencies:

nanonext - NNG Lightweight Messaging Library

Rendered fromnanonext.Rmdusinglitedown::vignetteon Nov 14 2024.

Last update: 2024-08-20
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.nanoPipe close.nanoSocket close.nanoStream close.ncurlSession
Collect Data of an Aio or List of Aioscollect_aio collect_aio_
Collect the Pipe from an Aiocollect_pipe
Open Contextcontext
Condition Variablescv cv_reset cv_signal cv_value until until_ wait wait_
Dial an Address from a Socketdial
Validatorsis_aio is_nano is_ncurl_session
Error Validatorsis_error_value is_nul_byte
Listen to an Address from a Socketlisten
Lock / Unlock a Socketlock unlock
Clock Utilitymclock
Messengermessenger
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
Pipe Notifypipe_notify
Protocols [Documentation]protocols
Random Data Generationrandom
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