rspatial / raster

R raster package https://rspatial.github.io/raster/reference/raster-package.html
GNU General Public License v3.0
161 stars 52 forks source link

Error in reading shapefiles #317

Closed sichuandiyishenqing closed 1 year ago

sichuandiyishenqing commented 1 year ago
Hello! Could you please help me?      -(~-~)-

There is a package that I must use shapefile to get an object of type sp first. My Code: species1 <- shapefile("E://historyClimate//Existence_species1//species1.shp") The result(we can ignore the warning):

Error in make.names(fldnms, unique = TRUE) : invalid multibyte string 10

In addition: Warning messages:

1: OGR support is provided by the sf and terra packages among others

2: OGR support is provided by the sf and terra packages among others

3: OGR support is provided by the sf and terra packages among others

4: OGR support is provided by the sf and terra packages among others

5: OGR support is provided by the sf and terra packages among others

6: OGR support is provided by the sf and terra packages among others

Files.zip

sichuandiyishenqing commented 1 year ago

Sorry,I have known why it crashed!The file text includes other languages!