prettifyXML | R Documentation |
Prettify some XML or SVG code.
prettifyXML(contents = NA, tabSize = NULL)
contents |
the code to be prettified; there are three possibilities for
this argument:
|
tabSize |
number of spaces of the indentation (usually |
The code is prettified with the help of the command line utility
xmllint
if it is available, otherwise the xml2
is used.
The pretty code in a character string.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.