Closed lovalery closed 4 years ago
On Winndows 10, R 4.0.2, stand-alone Windows GRASS 7.8.3, fully updated CRAN sp, rgdal, rgrass7, XML, I cannot reproduce your problem. Your use of arguments is unusual, but even so, nothing indicates problems. If initGRASS()
fails, no subsequent command will work properly. I am assuming that you know that initGRASS()
is run when library(rgrass7) reports: (GRASS not running)
when the package is attached. It is also usual practice to use the SG=
argument. I do not think this is an issue, please follow up on the grass-stat list.
@rsbivand Dear Roger, As agreed, I report my use case of 'rgrass7' where R returns error messages.
When I run the script below (which works very well the first time) for the second time, R returns some error messages.
Please, note that, during the second run, I also tried to execute each command independently to see if the problem was not related to a specific command (I suspected initGRASS() to be the cause of the problem)... but, in fact, each command returns an error message.
I am at your disposal if you would like me to do some tests to help you identify the source of the problem. Best regards, Loïc
Here is the list of executed commands and associated error messages :
This error message is accompanied by the opening of a popup window indicating : "The procedure entry point GEOSMakeValid_r could not be located in the dynamic link library C:\Program Files\GRASS GIS 7.8\extrabin\gdal300.dll"
For execGRASS, R does not return any error message. But there is still a popup windows indicating : "The procedure entry point GEOSMakeValid_r could not be located in the dynamic link library C:\Program Files\GRASS GIS 7.8\extrabin\gdal300.dll"
This error message is accompanied by the opening of a popup window indicating : "The procedure entry point GEOSMakeValid_r could not be located in the dynamic link library C:\Program Files\GRASS GIS 7.8\extrabin\gdal300.dll"