Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access Rserve settings values from within R /Java? #89

Open
wiwie opened this issue Sep 6, 2017 · 2 comments
Open

Access Rserve settings values from within R /Java? #89

wiwie opened this issue Sep 6, 2017 · 2 comments

Comments

@wiwie
Copy link

wiwie commented Sep 6, 2017

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.

@pzingg
Copy link

pzingg commented Dec 9, 2018

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.

@s-u
Copy link
Owner

s-u commented Jul 26, 2019

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

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

No branches or pull requests

3 participants