Code
write_xml(x, c("test.xml", "foo"))
Condition
Error in `write_xml()`:
! `file` must be a single string, not a character vector.
Code
write_xml(y[1], c(filename, "foo"))
Condition
Error in `write_xml()`:
! `file` must be a single string, not a character vector.
Code
write_xml(y, c(filename, "foo"))
Condition
Error in `write_xml()`:
! `file` must be a single string, not a character vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.