Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Loading RStudio and RServe() using the SSEtoRserve.exe.config #44

Open
mssqlsage opened this issue Sep 11, 2018 · 1 comment
Open

Loading RStudio and RServe() using the SSEtoRserve.exe.config #44

mssqlsage opened this issue Sep 11, 2018 · 1 comment

Comments

@mssqlsage
Copy link

mssqlsage commented Sep 11, 2018

Hi everyone,

I'm looking to get the SSEtoRServe Plugin running automatically upon server startup. I've referenced:

https://github.com/qlik-oss/sse-r-plugin/blob/master/GetStarted.md#configure-ssetorserve

For the parameters in the config file, and gotten RStudio to load successfully using the following:

setting name="rProcessPathToStart" serializeAs="String"
value>D:\Program Files\RStudio\bin\rstudio.exe
/setting

However, I also need to initialize RServe(), which I haven't found a way to do; is there a way using the rserveInitScript parameter ? any other advice would be welcome as well.

Thanks,
Jeff

@tobiaslindulf
Copy link
Contributor

Hi, sorry for late reply.
There is actually no need to start RStudio since that is more or less only the GUI. It is enough to start RServe. See below instructions, I hope it helps:
rProcessPathToStart : Default empty (no additional action, SSEtoRserve assumes that Rserve is running already). If you want SSEtoRserve to start any R process during startup then set it to i.e. C:\Program Files\R\R-3.3.3\bin\x64\Rserve.exe or C:\Program Files\Microsoft\R Open\bin\x64\Rterm.exe or C:\Program Files\R\R-3.3.3\bin\x64\Rterm.exe , depending on what you want to run and where it is located in the machine.
If the process dies then SSEtoRserve will try to start it again after ~10 seconds.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants