readOGR() cannot open file

后端 未结 6 935
臣服心动
臣服心动 2020-12-08 00:50
wmap <- readOGR(dsn=\"~/R/funwithR/data/ne_110m_land\", layer=\"ne_110m_land\")

This code is not loading the shape file and error is generated a

6条回答
  •  渐次进展
    2020-12-08 01:21

    I had the same error. To read in a shapefile, you need to have three files in your folder: the .shp, .dbf and .shx files.

提交回复
热议问题