sinkSetup establishes temporary files to capture output that
would normally be directed toward the screen, and redirects both
standard and error output to these files.
retrieves the output, and removes screen redirections so output again
appears on the screen.
These functions are used to redirect and then retrieve screen
output. Redirection is to objects created with
no arguments (i.e., a temporary file, unlinked from the file
system). Both standard output and error output are redirected.
User-level calls of
sink between calls to
sinkRetrieve may confuse screen
(especially error) capture, likely resulting in warnings when
sinkRetrieve is called.
sinkRetrieve returns an object of
SinkOutput-class, the slots of which contain vectors of
the lines of text directed toward the screen.
1 2 3 4 5 6 7 8
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.