write.settings.RdIf 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)path to written XML file, or settings as an XML string if outputfile is NULL