If outputdir is NULL, the whole path is taken from outputfile. If both outputfile and outputdir are NULL, no file is written and it returns the formatted XML as character. This can be handy for debugging.

write.settings(settings, outputfile, outputdir = settings$outdir)

Arguments

settings

settings list

outputfile

the file name to write to

outputdir

the directory to write to

Value

path to written XML file, or settings as an XML string if outputfile is NULL

Author

Ryan Kelly

Betsy Cowdery