Package: socketR 1.0.5
socketR: POSIX Socket Programming for R
Provides a small POSIX sockets interface to R, enabling direct network communication from R for applications that need low-level socket control or lightweight client and server connections. This package provides IPv4 and IPv6 support with 'TCP/UDP' protocols. It functional API with 'socket_create' and an R6 interface through 'Socket' object.
Authors:
socketR_1.0.5.tar.gz
socketR_1.0.5.zip(r-4.7-x86_64)socketR_1.0.5.zip(r-4.7-arm64)socketR_1.0.5.zip(r-4.6-x86_64)socketR_1.0.5.zip(r-4.6-arm64)socketR_1.0.4.zip(r-4.5-x86_64)
socketR_1.0.5.tgz(r-4.6-x86_64)socketR_1.0.5.tgz(r-4.6-arm64)socketR_1.0.4.tgz(r-4.5-x86_64)socketR_1.0.4.tgz(r-4.5-arm64)
socketR_1.0.5.tar.gz(r-4.7-arm64)socketR_1.0.5.tar.gz(r-4.7-x86_64)socketR_1.0.5.tar.gz(r-4.6-arm64)socketR_1.0.5.tar.gz(r-4.6-x86_64)
socketR_1.0.5.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
socketR/json (API)
| # Install 'socketR' in R: |
| install.packages('socketR', repos = c('https://sassoftware.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/sassoftware/socketr/issues
Pkgdown/docs site:https://sassoftware.github.io
Last updated from:350273c88a (on 1.0.5-release). Checks:12 OK, 3 FAIL. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 120 | ||
| linux-devel-x86_64 | OK | 102 | ||
| source / vignettes | OK | 203 | ||
| linux-release-arm64 | OK | 79 | ||
| linux-release-x86_64 | OK | 111 | ||
| macos-release-arm64 | OK | 113 | ||
| macos-release-x86_64 | OK | 258 | ||
| macos-oldrel-arm64 | FAIL | 60 | ||
| macos-oldrel-x86_64 | FAIL | 119 | ||
| windows-devel-arm64 | OK | 337 | ||
| windows-devel-x86_64 | OK | 100 | ||
| windows-release-arm64 | OK | 328 | ||
| windows-release-x86_64 | OK | 75 | ||
| windows-oldrel-x86_64 | FAIL | 53 | ||
| wasm-release | OK | 104 |
Exports:Socketsocket_acceptsocket_bindsocket_broadcastsocket_closesocket_connectsocket_connect_autosocket_connectionsocket_connection_readsocket_connection_writesocket_createsocket_fdsocket_get_optionsocket_infosocket_is_opensocket_keep_alivesocket_lingersocket_listensocket_listen_autosocket_local_namesocket_no_delaysocket_peer_namesocket_pollsocket_quick_acksocket_readsocket_receivesocket_receive_buffer_sizesocket_receive_fromsocket_receive_timeoutsocket_resolvesocket_reuse_addresssocket_sendsocket_send_buffer_sizesocket_send_timeoutsocket_send_tosocket_set_blockingsocket_set_optionsocket_set_optionssocket_shutdownsocket_write
Dependencies:R6
Last update: 2026-08-24
Started: 2026-08-24
Last update: 2026-08-24
Started: 2026-08-24
Last update: 2026-08-24
Started: 2026-08-24
Last update: 2026-08-24
Started: 2026-08-24
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| POSIX socket programming for R | socketR-package socketR |
| Close an R6 Socket with the standard R connection API. | close.Socket |
| Close a socketR handle with the standard R connection API. | close.socketr_socket |
| R6 convenience wrapper for socketR handles. | Socket |
| Connect using the first available IPv6 or IPv4 endpoint. | socket_connect_auto |
| Adapt sockets and R connections for byte I/O. | socket_connection socket_connections socket_connection_read socket_connection_write |
| Datagram socket I/O. | socket_datagrams socket_receive_from socket_send_to |
| Return the native file descriptor, or NA for a closed socket. | socket_fd socket_info socket_inspection socket_local_name socket_peer_name |
| Get a socket option. | socket_get_option |
| Stream socket I/O. | socket_io socket_read socket_receive socket_send socket_write |
| Manage a socket handle lifecycle. | socket_close socket_is_open socket_lifecycle socket_shutdown |
| Listen on the first available IPv6 or IPv4 address family. | socket_listen_auto |
| Common socket option helpers. | socket_broadcast socket_keep_alive socket_linger socket_no_delay socket_options socket_quick_ack socket_receive_buffer_size socket_receive_timeout socket_reuse_address socket_send_buffer_size socket_send_timeout |
| Control socket blocking and readiness. | socket_poll socket_readiness socket_set_blocking |
| Resolve a hostname or address into socket endpoints. | socket_resolve |
| Set a socket option. | socket_set_option |
| Set multiple socket options in order. | socket_set_options |
| Create and configure POSIX sockets. | socket_accept socket_bind socket_connect socket_create socket_listen socket_setup |
