我对 Redis 完全陌生,对 R 也比较陌生。我需要做一个作业,我首先需要连接到一个套接字(它流式传输股票的键值)。
我使用自制软件在我的 mac 中安装了 Redis,然后rredis
在 R 中安装了包。每次尝试连接到本地主机时,我都会收到以下错误:
redisConnect()
Warning message:
In .openConnection(host = host, port = port, nodelay = nodelay, :
Unable to set nodelay.
如果我设置nodelay = F
我会连接
现在,我正在尝试连接到特定的套接字(ip:88.99.38.191,端口:1337)
我明白了
redisConnect(host = "88.99.38.191", port = 1337)
Error: Error in doTryCatch(return(expr), name, parentenv, handler):
Unknown message type
Warning message:
In .openConnection(host = host, port = port, nodelay = nodelay, :
Unable to set nodelay.
如果我尝试设置nodelay = F
:
> redisConnect(host = "88.99.38.191", port = 1337, nodelay = F)
Error: Error in doTryCatch(return(expr), name, parentenv, handler): Unknown message type
Warning messages:
1: closing unused connection 12 (->localhost:6379)
2: closing unused connection 11 (->localhost:6379)
3: closing unused connection 10 (->localhost:6379)
4: closing unused connection 9 (->localhost:6379)
有谁知道我做错了什么?我在网上看到的所有指南/教程的默认设置都没有问题nodelay = T
ps:请原谅我的无知,或者我有类似的帖子,我没有找到。