Description Usage Arguments Value Author(s) Examples
Some characters in HTML are used for markup and has to be escape to be
display literally. First of all, "<" and ">" is escaped with <
and >
. The character "&" is escaped with &
.
The quotation mark is escaped with "e;
.
1 | HtmlPrintStream$escape(s, escQuote=FALSE, ...)
|
s |
Character string to be escaped. |
escQuote |
If |
Returns a character
string with escaped characters.
Henrik Bengtsson (http://www.braju.com/R/)
1 2 3 4 | s1 <- "It is well known that 0.999 < 1 & PI > 3.14."
print(s1)
s2 <- HtmlPrintStream$escape(s1)
print(s2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.