north-road / qgis-processing-r

QGIS Processing R Provider Plugin

Home Page:https://north-road.github.io/qgis-processing-r/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to run any R script

johnrobot opened this issue · comments

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

Do you get ANYTHING in the log window at all?

No, the log tab is empty.

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

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?

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...

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.