Where is the Rserve Config file located on Windows?

后端 未结 4 1678
小鲜肉
小鲜肉 2021-02-11 02:37

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:18

    You can start Rserve by specifying the location of the config file. In R instead of just Rserve() try the following:

    Rserve(args="--RS-conf C:\\folder\\Rserv.cfg")
    

    If path is more complicated you need to massage it a little bit:

    Rserve(args="--RS-conf C:\\PROGRA~1\\R\\R-215~1.2\\library\\Rserve\\Rserv.cfg")
    

提交回复
热议问题