R/util-lastcom.r

Defines functions lastcom

Documented in lastcom

#' Listing the last command
#'
#' This function lists the last command is executed by \code{RcmdrPlugin.KMggplot2}
#'
#' @rdname util-lastcom
#' @keywords documentation
#' @export
lastcom <- function() {
  
  if (exists(".lastcom", envir = .GlobalEnv)){
    cat(get(".lastcom", envir = .GlobalEnv))
  } else {
    stop("object '.lastcom' not found")
  }
  
}

Try the RcmdrPlugin.KMggplot2 package in your browser

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

RcmdrPlugin.KMggplot2 documentation built on Sept. 17, 2019, 9:03 a.m.