Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to interact with websocket from within R [closed]

I'm on R 3.1.2 and want to interact with a websocket over a private ip within R. In the past, I've tried using websockets package and had memory/cpu usage problems and crashes with it, admittedly after several hours.

From the documentation, I see that it is now deprecated and httpuv package is recommended.

Am I reading correctly that httpuv is a websockets server and not a R client.

Are there any other packages I can use to interact with the websocket from inside R.

like image 840
Yoda Avatar asked Oct 31 '22 11:10

Yoda


1 Answers

I had a similar question a while back and it was confirmed to me by Joe Cheng (maintainer of httpuv) that httpuv is a websocket server only. That still seems to be true with httpuv 1.3.2 dated 2014-10-22.

like image 118
Martin Studer Avatar answered Nov 15 '22 04:11

Martin Studer