A set of functions to quickly redirect output to a file or read character vectors from a file.
1 2 3 4 5 6 7 8 9 10 11
R object to print to the file or to read from the file
file in which to read or write
%>% sends the
object to the
file. The object is printed to the file
according to the function specified in the
operators.print option supplied with this package,
most likely to be the
%>>% appends the output to the file.
%2>% sends the message stream to the file by
message stream to the file. See
sink for details.
%2>>% appends the message stream to the file.
%*>% sends both output and message streams to the file.
%*>>% appends them.
%<% reads the content of the file into the
%<<% appends the
content of the file to the object.
NULL, used for the side effects.
Romain Francois <email@example.com>
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.