Description Usage Arguments Details Value Examples
Infix stream operators
1 2 3 4 5 6 7 8 9 | lhs %<<% rhs
lhs %<<.% rhs
lhs %>>% rhs
lhs %<>% rhs
lhs %<.>% rhs
|
lhs |
a pstream object |
rhs |
a data value or name |
The %<<%
operator writes the object on the right-hand
side to the pstream object on the left-hand side using
write_stdin
. The %>>%
operator reads from
the pstream object on the left-hand side and stores the result
in the variable on the right-hand side using read_stdout
.
The %<>%
operator writes a string to the stream and immediately
reads from standard output and returns the result. This is mostly
for quickly viewing the output from a program. The %<<.%
and %<.>%
operators write to standard input exactly as
%<<%
and %<>%
, but also send end-of-file.
This is necessary for some programs to process
input.
a pstream object invisibly
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.