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

Stack trace in RTalk.request(...) #6

Open
Squareys opened this issue Oct 28, 2015 · 0 comments
Open

Stack trace in RTalk.request(...) #6

Squareys opened this issue Oct 28, 2015 · 0 comments

Comments

@Squareys
Copy link

Hi @s-u !

Would it be possible to have RTalk.request(...) throw an exception instead of printing a stack trace when an exception occurs?

I have the following use case: Due to potentially long execution times of R expressions, I would like to be able to terminate their execution. I am currently doing this by closing the RConnection and then terminating the Rserve process (which only runs locally). This causes the socket input stream to throw SocketException: Socket closed while blocking on is.read(), which results in the stack trace.

Thank you in advance!
Greetings,
Jonathan

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

No branches or pull requests

1 participant