Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我目前正在处理我的 R 脚本,似乎 raster 包中的旧 raster() 函数不再起作用。执行 raster("filename") 时出现以下错误 extension(x) 中的错误:4 个参数传递给 .Internal(nchar) 这需要 3 新版本的 raster 包是否发生了变化?或者扩展功能可能已经改变并且光栅功能仍然使用与更新前相同的方式?感谢您的帮助罗比
好吧,似乎 R 和软件包之间存在版本问题。您需要做的就是将所有内容更新到最新版本。