Amazon festival offer

Wednesday, 9 May 2012

How to install Rserve package on R

Rserve is a TCP/IP server which allows other programs to use facilities of R (see from various languages without the need to initialize R or link against R library.

You can download Rserve from 
Otherwise start R and type 
>install.packages("Rserve", type="source")  and select  any CRAN mirror .


  problem copying .\Rserve.exe to C:\Program Files\R\R-2.13.2\library\Rserve\libs\x64\Rserve.exe: Permission denied
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices ...
** testing if installed package can be loaded

* DONE (Rserve)

The downloaded packages are in

This shows Rserve package has installed completely.
Go to C:\Program Files\R\R-2.13.2\library\Rserve\libs\x64\Rserve.exe  path and copy Rserve.exe file to
                C:\Program Files\R\R-2.13.2\bin
after copying Rserve.exe file just check whether Rserve is running or not by doubble clicking on Rserve.exe file.
        If it runs successfully then it ok otherwise it will ask for R.dll file which is inside
the C:\Program Files\R\R-2.13.2\bin\x64 directory  to     
                                    C:\Program Files\R\R-2.13.2\bin
 and run again Rserve.exe, if it again ask any file just copy that file from 
                     C:\Program Files\R\R-2.13.2\bin\x64      to   
                           C:\Program Files\R\R-2.13.2\bin
Now Rserve.exe should run properly.

How to start Rserve:-

1:-You can start Rserve from R , just type:


2:- Other way to stat Rserve through command prompt

            R CMD Rserve

No comments: