How to Shutdown Rserve(), running in DEBUG

2019-09-18 13:32发布

问题:

I have started Rserve() from within RStudio on my Mac in debug mode with the following:

Rserve(debug=TRUE,args="--no-save")

And as a result, I get the message:

Note: debug version of Rserve doesn't daemonize so your R session will be blocked until you shut down Rserve.

This is fine & good, until I've finished with using Rserve in debug mode.

How can I send an interrupt in order to gracefully shutdown Rserve() ?

Thanks!