R/collectGarbage.R

Defines functions collectGarbage

Documented in collectGarbage

#' Performs garbage collections non verbosely
#'
#' @return taken from  \code{\link{gc}}: gc returns a matrix with rows "Ncells"
#' @seealso \code{\link{gc}}
#' @examples
#' collectGarbage()
collectGarbage <- function(){
  invisible({
    gc()
    gc()
  })
}
AlejandroKantor/akmisc documentation built on May 5, 2019, 3:51 a.m.