Create XLUM files using xml2::write_xml.
Arguments
- x
xlum_list, list, xml2::xml_document (required): input object.- file
character (required): path to the output file, with the
.xlumextension added automatically if needed.- encode_base64
logical (with default): enable/disable base64 encoding for values in the
<curve/>node. Please note that this parameter works only if the input is of classxlum_list.- ...
further arguments to be passed to xml2::write_xml.
Author
Sebastian Kreutzer, F2.1 Geophysical Parametrisation/Regionalisation, LIAG - Institute for Applied Geophysics (Germany)
Examples
file <- system.file("extdata/xlum_prototype.xlum", package = "xlum")
xlum_data <- read_xlum(file)
write_xlum(xlum_data, tempfile())