How to get an R object with Field numeric multiple Layer
Florent-Demoraes opened this issue · comments
Hi,
I am trying to migrate my FactoQGIS script (https://github.com/ESO-Rennes/FactoQGIS) to QGIS 3.4
I had a previous issue which was solved (#32)
I face now a problem to get in an R object the list of the fields the user selects in the parameter "Field numeric multiple Layer"
Example :
##FactoQGIS=group
##Layer=Vector
##Active_variables_Must_be_numeric=Field numeric multiple Layer
To assign to a character string the quantitative active variables selected by the user
ListVar<- as.character(Active_variables_Must_be_numeric)
ListVar
The result is
[1] ""
I can't retrieve the names of the fields into a R object.
I tried with other functions as.numeric, as.name, as.factor, etc....
It doesn't work.
Any idea ?
Thanks !
This is fixed now. Now you'll receive an array of field names for the variable value.
Hi,
this message just to let you know that I finished the upgrade of the FactoQGIS script.
It now works with the current version of the R proccessing provider (version 2) and was tested in QGIS 3.4.
It can be downloaded here : https://github.com/ESO-Rennes/FactoQGIS
Thanks again for providing the community with such a powerfull framework.
By the way, is there a website that lists all the available scripts that works with the last R proccessing provider?