write_xml | R Documentation |
Convert the object x
to an xml_document
object using the function as_xml()
and write it to a file.
If no method as_xml()
exists for the object |classx, an error will be raised.
write_xml(x, file, output = "metadata", ...)
x |
object which will be converted to and saved as an xml file. |
file |
Path to file or connection to write to. |
output |
specifies the content and format of the exported xml. see as_xml for details |
... |
additional parameter for the conversion function |
write_xml(dmdScheme(), file = tempfile())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.