Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run any R script #74

Open
johnrobot opened this issue Oct 14, 2020 · 6 comments
Open

Unable to run any R script #74

johnrobot opened this issue Oct 14, 2020 · 6 comments
Labels
question Further information is requested

Comments

@johnrobot
Copy link

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
Copy link
Contributor

Do you get ANYTHING in the log window at all?

@nyalldawson nyalldawson added the question Further information is requested label Oct 15, 2020
@johnrobot
Copy link
Author

No, the log tab is empty.

@johnrobot
Copy link
Author

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

@MrcLuna
Copy link

MrcLuna commented Feb 5, 2021

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
Copy link

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants