Where is the Rserve Config file located on Windows?

后端 未结 4 838
闹比i
闹比i 2021-02-11 02:43

I\'m using a Windows 7 x64 machine with R-3.1.0. I installed the Rserve package through Rstudio.

The start of Rserve is successful with the following code in Rstudio:

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-11 03:17

    Rserve does not automatically come with a config file, you must make one. Best steps for doing so:

    1. Navigate to the file where you just installed Rserve.exe (C:\R\R-31~1.0\library\Rserve\libs\x64\R, based on the message you copied here)
    2. Find Rserve.exe, Reserve_d.exe, and Rserve.dll there. Copy these files.
    3. Navigate to where R.dll is on your computer. This is probably C:\Program Files\R\R-3.1.3\bin\x64, but may be different depending on where you installed R to.
    4. Copy the 3 files mentioned above to this location.
    5. Create a text file here named "Rserv.cfg" with the arguments you are looking for, such as port 6312 or library(mvoutlier). Yes, I know that this is different from the documentation, but if you start Rserve_d.exe you will see that this is the file it is looking for. I have not had success naming it anything else.

提交回复
热议问题