<div dir="ltr"><div>Hi Tom,</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Dec 10, 2020 at 4:24 AM Tom Hackbarth <<a href="mailto:txhackbarth@gmail.com">txhackbarth@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Anna,<div><br></div><div>thanks for your answer.<br><br>I reinstalled it already multiple times. I get the same error message every time though. I will try it on a mac tomorrow, but that is the last idea I have. Has there ever been a problem like this using r.futures? It's such a shame because I really want to use it for my Master's Thesis as it is capable of all the things that I need to do for it, but I cannot get it to work. </div></div></blockquote><div><br></div><div>I am not sure why reinstalling doesn't work and I am myself on Linux so can't test now. You can try to paste a line like this:</div><div><br></div><div>set PATH=%PATH%;C:\Program Files\R\R-3.5.0\bin<br></div><div><br></div><div>in the GRASS terminal (the black one), you need to change the path to R based on your R installation. Then try to run Rscript in the terminal, just to see if the binary can now be found. If yes, try to run r.futures.potential. This temporarily changes the PATH variable so that your system can find R, once you close GRASS, you need to repeat this next you need to run it. Let us know if at least this works.</div><div><br></div><div>Anna</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div><div>Best regards</div><div><br></div><div>Tom</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Mi., 9. Dez. 2020 um 15:01 Uhr schrieb Anna Petrášová <<a href="mailto:kratochanna@gmail.com" target="_blank">kratochanna@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Dec 9, 2020 at 8:37 AM Tom Hackbarth <<a href="mailto:txhackbarth@gmail.com" target="_blank">txhackbarth@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear grass users,<div><br></div><div>I am trying to work my way through the r.futures workshop (<a href="https://grasswiki.osgeo.org/wiki/Workshop_on_urban_growth_modeling_with_FUTURES#Potential_submodel" target="_blank">https://grasswiki.osgeo.org/wiki/Workshop_on_urban_growth_modeling_with_FUTURES#Potential_submodel</a>), but as soon as I get to the point of using the first r.futures module - r.futures-potential I come to a dead end. </div><div><br></div><div>This is the message I get:</div><div><br></div><div>___________________________</div><div><br></div><div>r.futures.potential input=sampling@practice1 output=potential.csv columns=devpressure_0_5_92,road_dens_perc,forest_1992_smooth_perc,dist_to_water_km,dist_to_protected_km developed_column=urban_change_clip subregions_column=counties<br>Computing model...<br>Traceback (most recent call last):<br>  File "C:\Users\XXXX\AppData\Roaming\GRASS7\addons/scripts<br>/<a href="http://r.futures.potential.py/" target="_blank">r.futures.potential.py</a>", line 221, in <module><br>    sys.exit(main())<br>  File "C:\Users\XXXX\AppData\Roaming\GRASS7\addons/scripts<br>/<a href="http://r.futures.potential.py/" target="_blank">r.futures.potential.py</a>", line 192, in main<br>    p = subprocess.Popen(cmd, stdout=subprocess.PIPE,<br>stderr=subprocess.PIPE)<br>  File "D:\Programme\apps\Python37\lib\subprocess.py", line<br>756, in __init__<br>    restore_signals, start_new_session)<br>  File "D:\Programme\apps\Python37\lib\subprocess.py", line<br>1155, in _execute_child<br>    startupinfo)<br>FileNotFoundError: [WinError 2] The system cannot find the file specified)     <br></div><div><br></div><div>_____________________________</div><div><br></div><div>There seems to be a problem with the Python code. I also tried to work it out on linux manjaro, but I get more or less the same error message in the End.</div><div><br></div><div>Is there anyone who can help me on this? I came not even close to repairing the error, so I am happy about any advice one can give me.</div><div><br></div><div>Thank you in advance.</div><div><br></div></div></blockquote><div>Copying response from grass-web:</div><div><br></div><div>r.futures.potential calls Rscript, so the error means it can't find the Rscript binary. If R is installed, I would recommend reinstalling GRASS, during installation it tries to automatically look for it, so there is a chance it will work then. I would recommend subscribing to grass-user mailing list and ask more questions there.<br></div><div><br></div><div>Anna</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div><div>Best regards </div><font color="#888888"><div><br></div><div>Tom</div></font></div>
_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
</blockquote></div></div>
</blockquote></div>
</blockquote></div></div>