Cannot run grass commands using R
jfsmenezes opened this issue · 4 comments
Hi,
I am having an issue where I can run QGIS and SAGA algorithms in RQGIS3 but I receive python erros when running GRASS commands. for example:
set_env("C:\\Program Files\\QGIS 3.10")
run_qgis("qgis:createconstantrasterlayer", EXTENT = "-10,10,-10,10", OUTPUT="test.tif")
#outputs file path, as expected.
run_qgis("grass7:i.fft",input="test.tif",
real="test2.tif",
imaginary="test3.tif"
)
#Error in py_call_impl(callable, dots$args, dots$keywords):
#QgsProcessingException: There were errors executing the algorithm.
#Detailed traceback:
#File "C:/Program Files/QGIS 3.10/apps/qgis/python/plugins\processing\tools\general.py", line
#106, in run
#return Processing.runAlgorithm(algOrName, parameters,
#onFinish, feedback, context)
#File "C:/Program Files/QGIS 3.10/apps/qgis/python/plugins\processing\core\Processing.py",
#line 181, in runAlgorithm
#raise QgsProcessingException(msg)
Does anyone know how can I fix that?
This problem does not seems to happen in another computer with QGIS 3.4. So maybe it is related to the qgis version?
By the way I would like to thanks the package authors. This is a very easy to use package and really speed up my GIS analysis on R.
Thanks! We currently have not much time for this package.
QGIS changes a lot in new releases and it can very well be that it is related to a new version.
We do not have a working CI integration which reliably checks the functions against the latest QGIS version. So fingers crossed and we suggest to stick to a working environment once you have found one 😅
Thanks! We currently have not much time for this package.
Which QGIS version is the latest one that is supported or works for you?
I have the same problem, it is a last listen that improvements to the package are not heard, which is very good.
I don't know what you mean.
Everyone is welcome to contribute and fix things.
This package is a FOSS offer, not a paid service.