View source: R/close_all_sinks.R
close_all_sinks | R Documentation |
This function closes all active sink connections and ensures that subsequent outputs are displayed in the console.
close_all_sinks()
NULL invisibly.
## Not run:
sink("output.txt")
cat("This will be written to the file.")
close_all_sinks()
cat("This will be shown in the console.")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.