kill: Kill R session

View source: R/kill.R

killR Documentation

Kill R session

Description

Kill R session

Usage

kill(pid = Sys.getpid())

killAll()

Arguments

pid

integer(1). Process ID.

Note

Updated 2019-10-23.

See Also

  • RStudio: Session > Restart R (Ctrl + Shift + F10)

  • https://github.com/vsbuffalo/dotfiles/blob/master/.Rprofile

Useful kill commands in shell:

  • ⁠pgrep rsession⁠.

  • ⁠pkill rsession⁠.

  • ⁠kill -WINCH <PID>⁠.

Examples

## > kill()
## > killAll()

acidgenomics/bb8 documentation built on Feb. 1, 2024, 11:38 a.m.