Follow the steps below to enable R connectivity.
1. Download R, install it, and the R Console ( http://cran.rstudio.com/ )
2. Open the R Console.
2. Install Rserve using the following command from within the R Console:
3. Initiatiate the Rserve library using the following command:
4. Run Rserve by executing the following command:
Only 2, 4 & 5 need to be repeated when R connectivity is required.
Connectivity by default is over Port 6311.
To enable authentication across the Rserve TCP/IP link
q create a password file (pwdfile.pwd)
Each line of the file should have the user and then the password.
q Create a configuration file with following parameters (rconfig.conf)
pwdfile [path of password file]
q load the created configuration file (the default Rserve configuration file is still loaded, but its settings have lower priority) and run Rserve:
Rserve(args="--RS-conf [path of configuration file]")