Wednesday, March 2, 2016

Rserve - TCP/IP server which allows other programs to use facilities of R

Rserve - TCP/IP server which allows other programs to use facilities of R

Rserve - is a TCP/IP server which allows other programs to use facilities of R from various languages without the need to initialize R or link against R library. Every connection has a separate workspace and working directory. Client-side implementations are available for popular languages such as C/C++, PHP and Java. Rserve supports remote connection, authentication and file transfer.

Installing and initiate Rserve
> install.packages('Rserve')

> library(Rserve)

> Rserve()

Error

> Rserve()

Rserv started in daemon mode.
##> SOCK_ERROR: bind error #98(address already in use)
Solution

boss@passive:~$ ps faux | grep Rserve

will list the Rserv started daemon.


No comments: