| Signals | R Documentation |
On receivingSIGUSR1R will save the workspace and quit.SIGUSR2 has the same result except that the.Lastfunction andon.exit expressions will not be called.
kill -USR1 pidkill -USR2 pid
pid | The process ID of theR process. |
The commands history will also be saved if would be at normaltermination.
This is not available on Windows, and possibly on other OSes which donot support these signals.
It is possible that one or moreR objects will be undergoingmodification at the time the signal is sent. These objects could besaved in a corrupted form.
Sys.getpid to report the process ID for future use.
Add the following code to your website.
For more information on customizing the embed code, readEmbedding Snippets.
