R: Rserve

From OnnoWiki
Jump to navigation Jump to search
install.packages("Rserve")
library(Rserve);
Rserve(args = "–vanilla --RS-enable-remote", port=XXXX);

The default Rserve port is 6311, make sure it is accessible. You can test whether Rserve responds by typing:

telnet localhost 6311

If Rserve works, you should get:

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Rsrv0103QAP1


Pranala Menarik