Temporarily divert output to a file via
sinks of type
message, an error is raised if such a sink is already
A writable connection or a character string naming the file to write to. Passing
NULLwill throw an error.
Code to execute in the temporary environment
TRUE, output will be appended to
file; otherwise, it will overwrite the contents of
TRUE, output will be sent to the new sink and to the current output stream, like the Unix program
The environment to use for scoping.