Victor,
I found the file in the folder. This the output (same error for several
different layers and different fields):
matteo@matteo-computer:~/.qgis2/processing$ cat processing_script.r.Rout
R version 3.2.3 (2015-12-10) -- "Wooden Christmas-Tree"
Copyright (C) 2015 The R Foundation for
ah, ok, that might be it
can you check the temporary R file that is created when running the
algorithm? that should tell you how the parameter is pased to R, since
that is an R script
You should find it in ~/.qgis2/processing
regards
2016-10-01 18:21 GMT+02:00 matteo
mmm, it is working for me
this works fine
##layer=vector
##fields=multiple field layer
print fields
Notice that it is "multiple field", all in lower case. You example
says "multiple Field", which is wrong. Maybe is that?
2016-09-30 10:19 GMT+02:00 matteo :
> Hi
Hi Victor,
thanks for your answer..
> The value of the multiple flieds is a string with field names
> separated by semicolons
>
> so, to get a list of them:
>
> fields = multiple_fields.split(";")
>
> Not sure this is what you need...maybe I am not understanding the question
actually not
Sorry for the late reply
The value of the multiple flieds is a string with field names
separated by semicolons
so, to get a list of them:
fields = multiple_fields.split(";")
Not sure this is what you need...maybe I am not understanding the question
2016-09-22 15:44 GMT+02:00 matteo
Victor,
thanks for the super quick reply.
I still don't get how can I select the different single fields from the
output.
I mean, with the selection parameter all is straightforward.
In the example I wrote in the previous mail, how can I access the first
field of the multiple fields parameter?
Matteo
For the multiple field you dont supply the fields or options. It takes
them from the parent layer and you can select several, instead of one,
as the PArameterTableField does
Hope this helps
2016-09-22 14:48 GMT+02:00 matteo :
> Hi guys,
>
> I have a small problem