Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

not displaying prints and on.exit in r

quiet <- function(x) { 
  sink(tempfile()) 
  on.exit(sink()) 
  invisible(force(x)) 
} 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #displaying #prints
ADD COMMENT
Topic
Name
5+3 =