\HeaderA{Signals}{Interrupting Execution of R}{Signals}
\keyword{utilities}{Signals}
\begin{Description}\relax
On receiving \code{SIGUSR1} \R{} will save the workspace and quit.
\code{SIGUSR2} has the same result except that the \code{\LinkA{.Last}{.Last}}
function and \code{\LinkA{on.exit}{on.exit}} expressions will not be called.
\end{Description}
\begin{Usage}
\begin{verbatim}
kill -USR1 pid
kill -USR2 pid
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{pid}] The process ID of the R process
\end{ldescription}
\end{Arguments}
\begin{Section}{Warning}
It is possible that one or more R objects will be undergoing
modification at the time the signal is sent.  These objects could be
saved in a corrupted form.
\end{Section}

