R/kill.R
kill.Rd
Kill R session
kill(pid = Sys.getpid()) killAll()
integer(1). Process ID.
integer(1)
Updated 2019-10-23.
RStudio: Session > Restart R (Ctrl + Shift + F10)
https://github.com/vsbuffalo/dotfiles/blob/master/.Rprofile
Useful kill commands in shell:
pgrep rsession.
pgrep rsession
pkill rsession.
pkill rsession
kill -WINCH <PID>.
kill -WINCH <PID>
## > kill() ## > killAll()