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

Conflict between sf and sp packages

geosapere opened this issue · comments

I'm having trouble using gstat in QGIS because Processing R Provider ignores the functions of the sp package because it uses sf by default
Even calling sp Processing interprets the functions as sf resulting in an error

You have to specify: ##load_vector_using_rgdal in the header of the script. Then the data is loaded using packages rgdal and sp, without loading sf.

If that does not work, you would need to share the script for further study.

Thank you! It worked!