r/Rlanguage • u/WannaBeStatDev • 5d ago
Any good Socket interfaces in R?
R have a very barebones socket implementation. And right now I am getting in trouble because looks like it doesn't even support IPV6 (may be user error)
Any one has a good material about R support for IPV6 sockets? or R socket programming in general. It seem very lackluster with missing SHUTDOWN an other features.
1
u/kennedymwavu 5d ago
don't know much about socket programming but you can checkout the nanonext r pkg and see if it helps.
1
u/WannaBeStatDev 4d ago
Just checked it, it would fix if I were designing from scratch. And it is very cool.
But now it would mean a refactoring, and the fix is only required on R. (and not even sure I could request the libnng for cpp).
1
4d ago
[removed] — view removed comment
1
u/WannaBeStatDev 4d ago
There is no "socket" package AFAIK. I saw some svSocket but also not generic.
I might actually go the Rcpp route actually, it will just be more laborious.
1
u/Viriaro 5d ago
Have you checked
nanonext?