我需要在iPython中连接pyRserve,但是当我尝试连接它时出错.这是错误.
conn = pyRserve.connect()
Run Code Online (Sandbox Code Playgroud)
这就是我得到的:
RConnectionRefused: Connection denied, server not reachable or not accepting connections.
Run Code Online (Sandbox Code Playgroud)
在pyrserve手册和建议纠正这一点,但我不明白我需要做什么.这是建议(注)
注意当应该打开与Rserve的远程连接,并且pyRserve无法连接到它时,很可能Rserve只监听它自己的内部网络连接.要强制Rserve接受来自其他计算机的连接,请创建一个名为/etc/Rserv.conf的文件,并至少添加以下行:remote enable然后重新启动Rserve.
所以,我需要知道如何实现注释并在python中连接Rserve
感谢大家