问题
Is there anyway to capture a SIGINT or SIGTERM from the shell in R so that I can try to execute some graceful exit code?
So far, I haven't found anything in my search.
来源:https://stackoverflow.com/questions/30823237/can-r-interpret-a-sigint-sigterm-and-execute-a-process-as-a-result