Answers for "not displaying prints and on.exit in r"

R
0

not displaying prints and on.exit in r

quiet <- function(x) { 
  sink(tempfile()) 
  on.exit(sink()) 
  invisible(force(x)) 
}
Posted by: Guest on September-14-2020

Code answers related to "not displaying prints and on.exit in r"

Browse Popular Code Answers by Language