Hi @sneumann,
I am using the mzR backend to export centroided spectra in mzML (see https://github.com/Adafede/CentroidR).
Actually, it seems that mzR exports value="nan" instead of value="NaN", which then leads to errors when reading the files in external tools.
I hacked a dirty fix to replace them manually (Adafede/CentroidR@eb9f6b3#diff-b4b5123cd43ca39308335e7138ce84d953d541808b220d786e239d4b18e9e349R156-R162) but this should be ideally fixed upstream?
Best,
Adriano