Learn R Programming

openxlsx2 (version 0.3.1)

write_file: write xml file

Description

brings the added benefit of xml checking

Usage

write_file(head = "", body = "", tail = "", fl = "", escapes = FALSE)

Arguments

head

head part of xml

body

body part of xml

tail

tail part of xml

fl

file name with full path

escapes

bool if characters like "&" should be escaped. The default is no escape, assuming that xml to export is already valid.