R: Rserve

From OnnoWiki
Revision as of 05:50, 10 November 2018 by Onnowpurbo (talk | contribs) (Created page with " 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 ca...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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