Description Usage Arguments Details Value Warning Author(s) References See Also
Any expression that generates output can be wrapped in a call to hash
. The usual
output will be returned, with a hash character at the start of each line.
1 | hash(x,char='#')
|
x |
an R expression |
char |
text to prepend to each line |
This is useful for embedding the result of an expression in a script.
used for side effects
Don't “hash” an expression that directly or indirectly calls a function being
debugged. The debug output will be ‘sunk’ to a connection. If you get in
this situation, recover by typing sink(NULL)
until output is restored.
Tim Bergsma
http://metrumrg.googlecode.com
file
sink
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.