[Qgis-developer] Processing-R multiple fields error

matteo matteo.ghetta at gmail.com
Mon Aug 1 06:15:34 PDT 2016


Hi all,

a couple of days ago I reported a bug in when creating an R script and
one of the input is `ParameterTableMultipleField` [0].

I had a look at the code an maybe I solved a part of the issue, that is
the algorithm GUI does not complain anymore.

But I'm sill not able to use the outputs of that parameter. If I load
some random Fields and I just try to print them in the R console, I get
this error:

Source:
"/tmp/processing8e0411a7ebc64ffc9f75b69d1f7e1f5e/f3653d7497eb4d62b0ffaf62c7a5631c",
layer: "dataexp"
with 102 features
It has 6 fields
multiple field Layer="SN;Y"
Error: unexpected symbol in "multiple field"
Execution halted


Here the piece of the super simple R script:
##Basic statistics=group
##Layer=vector
##Field=multiple field Layer
>Field


And the fixes of Processing are here [1]. Just one file, an import
missing and a small import problem (file is
processing/gui/ListMultiselectWidget)


Anybody has an idea? This could be a super feature to have

Thanks

Matteo


[0]
http://osgeo-org.1560.x6.nabble.com/Processing-R-script-parameters-error-td5278137.html
[1] https://gist.github.com/ghtmtt/4e6d40505c1312c85e23849f468de542


More information about the Qgis-developer mailing list