Error in reading shp file in Rstudio with different libraries

23 Views Asked by At

I am having issue reading shape file in R. I tried using both rgdal with readOGR command and sf with read_sf command. But I get the error in the attached figure. The strange thing is that sometimes it manages to read the same file without problems. I have the same issue with all shp files, also coming from different sources.

I run Linux with a AMD Ryzen 7 4700U with Radeon Graphics CPU. I tried disable the use GPU exclusion list and the following line in the global option. I upgraded recently the version of RStudio. I currently have R version 4.3.3 and Rstudio 2023.06.1+524

enter image description here

0

There are 0 best solutions below