R/pause.R

Defines functions pause

Documented in pause

#' Pause in interactive mode and continue on <Enter>.
#' @export
pause = function() {
  if (interactive())
    readline("Pause. Press <Enter> to continue.")
}

Try the BBmisc package in your browser

Any scripts or data that you put into this service are public.

BBmisc documentation built on Sept. 29, 2022, 5:12 p.m.