shapefile - 无法在 R 中加载 shapefile
问题描述
我是 R 新手,正在尝试解决此错误。当我将路径插入到我的 shapefile 时,我不断收到此错误:
.local(x, ...) 中的错误:file.exists(extension(x, ".shp")) 不是 TRUE
以下是相关代码:
border <- shapefile("C:/Users/flygi/Documents/GreenlandProject/Data/R/Data_NDVI/gadm36/GRL") # ToDo: 插入带有国家边界的 shapefile 的链接
一个问题:如果它是文件名的一部分,是否可以在路径中使用“_”?
非常感谢你,戴安娜
解决方案
推荐阅读
- cyrillic - 章节标题中的非拉丁符号
- python - 将基于curses的python脚本转换为MacOS App
- json - 某个分支的 git log 漂亮格式
- gnu - 在 iterm2 上使用 GNU coreutils 会禁用 LSCOLORS
- python - 在 Spyder 中启动内核 Python 时发生错误
- c++ - 自定义引用计数指针在创建后立即调用析构函数
- javascript - 滑块每次滑动不超过一次迭代 (JavaScript)
- node.js - 我的 NodeJS http POST 请求计算 json 值的总和不起作用
- arrays - 要求用户在数组中插入值
- html - 我可以从登陆页面预加载我拥有的另一个网站吗?