Running r.stats in GRASS GIS from QGIS has no parameter for output, only one named html. Does anyone know why this is? It doesn't match the documentation https://grass.osgeo.org/grass78/manuals/r.stats.html Is there any way to persuade r.stats to output a CSV file? It would be much more useful for my purposes. Even if separator is set to comma, and a file with .csv is chosen as the output, it still outputs html format.
processing.run("grass7:r.stats",
{'input':[input],
'separator':'comma',
'null_value':'*',
'nsteps':255,
'sort':0,
'-1':False,
'-A':True,
'-a':True,
'-c':False,
'-p':False,
'-l':True,
'-g':False,
'-x':False,
'-r':False,
'-n':False,
'-N':False,
'-C':False,
'-i':False,
'html':output,
'GRASS_REGION_PARAMETER':None,
'GRASS_REGION_CELLSIZE_PARAMETER':0})