If there are active rsession processes (rsc status), then have rsc stop should produce a warning saying it is safer to shut down sessions from the RStudio interface ("stop" button). To proceed, use rsc stop --force.
If there's a running rsc start, and the user hits Ctrl-C, they should be prompted with the same warning and asking if they really want to continue [n/Y].
Idea:
If there are active
rsession
processes (rsc status
), then haversc stop
should produce a warning saying it is safer to shut down sessions from the RStudio interface ("stop" button). To proceed, usersc stop --force
.If there's a running
rsc start
, and the user hitsCtrl-C
, they should be prompted with the same warning and asking if they really want to continue[n/Y]
.