rcloud.html.out {rcloud.support} | R Documentation |
rcloud.html.out
outputs content as-is directly into the current
cell, typically to create HTML content.
rcloud.out
evaluates and expression and sends the output into
the R console.
rcloud.html.out(..., sep = "")
rcloud.out(expr, terminate = "\n")
... |
any strings to output |
sep |
string separator |
expr |
expression to evaluate |
terminate |
string to use to terminate the output |
rcloud.html.out
pastes ... together using separator
sep
and collapsing the result using "\n"
and appends the
resulting string as-is in the cell output. It means that nothing is
escaped such that HTML-tags can be used and will interpreted by the
browser. This allows creating out DOM objects and any other arbitrary
HTML.
rcloud.out
evaluates the expression (in parent frame) and
prints the output (if visible) into the RCloud console. In interactive
use it is mostly equivalent to regular print()
, but in
non-interactive use or special cases (e.g. inside sink()
or
capture.output()
) it makes sure that the output explicitly sent
to the client side as console output.
Both functions return the resulting string invisibly
Simon Urbanek
rcloud.html.out("<b><font color=red>Bold RED text!</font></b><br>")
rcloud.out(str(iris))