Rserve icon indicating copy to clipboard operation
Rserve copied to clipboard

Access Rserve settings values from within R /Java?

Open wiwie opened this issue 7 years ago • 2 comments

This is more of a question than anything else:

Is it possible, to retrieve the settings of the running Rserve during runtime from within R or directly in Java?

I found the --RS-settings parameter. However, I am not sure, how this could be used from within R or Java.

My problem: I need to react appropriately to the maxinbuf setting in my Java code.

wiwie avatar Sep 06 '17 09:09 wiwie

I have a similar request, namely for my R code to be able to detect that it is running on Rserve, and therefore to handle exiting in a different way. My temporary workaround is to use Sys.setenv at startup to set an environment variable that my R code can detect at runtime, by using the “source” or “eval” configuration options.

pzingg avatar Dec 09 '18 19:12 pzingg

No, there is currently no way to retrieve the Rserve settings, they are entirely internal at this point. It is a fair request, though.

s-u avatar Jul 26 '19 15:07 s-u