Output redirection
Temporarily divert output to a file via sink().  For
sinks of type message, an error is raised if such a sink is already
active.
with_output_sink(new, code, append = FALSE, split = FALSE) local_output_sink( new = list(), append = FALSE, split = FALSE, .local_envir = parent.frame() ) with_message_sink(new, code, append = FALSE) local_message_sink(new = list(), append = FALSE, .local_envir = parent.frame())
| new | 
 | 
| code | 
 | 
| append | logical.  If  | 
| split | logical: if  | 
| .local_envir | 
 | 
[any]
 The results of the evaluation of the code
argument.
withr for examples
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.