No mostrar impresiones y ON.exit en R

quiet <- function(x) { 
  sink(tempfile()) 
  on.exit(sink()) 
  invisible(force(x)) 
} 
Important Ibis