north-road / qgis-processing-r

QGIS Processing R Provider Plugin
https://north-road.github.io/qgis-processing-r/
GNU General Public License v3.0
63 stars 14 forks source link

Unable to run any R script #74

Open johnrobot opened 4 years ago

johnrobot commented 4 years ago

Not sure if this is a bug or if I am missing something, but I am unable to run any R scripts whatsoever. My steps are:

1 Start with an empty QGIS project and add a test vector layer 2 Create a new R script, such as https://north-road.github.io/qgis-processing-r/ex_table_output/ 3 Hit "Run script" 4 Configure the pop up window for data source etc 5 Hit "Run" to run the script

Nothing happens after #5 and the window remains open. What am I missing?

Tried on: QGIS 3.14.16 and master Processing R provider 2.2.1 R 4.0.3 Windows 10, 64 bit

nyalldawson commented 4 years ago

Do you get ANYTHING in the log window at all?

johnrobot commented 4 years ago

No, the log tab is empty.

johnrobot commented 4 years ago

Tried in QGIS 3.16.0 as well, same result. What am I missing?

MrcLuna commented 3 years ago

Hi. Same problem here. Tried with two pcs running QGIS 3 16 3 and R 4 0 3 under windows 10. The provided samples run without problem, but any new script created just does nothing. Tried also reinstall r in a user folder without any better results. Any suggestions to solve the problem?

lvonklinkowstroem commented 3 years ago

Hola, I encountered the same problem but also found a solution. When I run the R script this pop up window appears where I can select the data source etc (as mentioned above by johnrobot). When I now click run in this pop up window nothing happens. But if I just double click on an existing R script, again the pop up window appears with the only difference that now on the right the file path of the r script is shown. If I now click run, it works. Seems to be some kind of bug...

magnusnil commented 3 years ago

I just tested this in QGIS 3.16.10 and R 4.0.0 on Windows 10 and I get the same result as Ivonklinkowstroem:

Nothing happens when I try to run a new script, but if I save it and double click it, I get it to run.