我试图在R中使用代码映射,但我一直收到此错误......我该怎么办?
map('usa')
Error in eval(parse(text = dbname)) :
cannot open file '~/R/win-library/3.5/maps/data/Rdata.rdb': No such file or directory
In addition: Warning message:
In eval(parse(text = dbname)) : restarting interrupted promise evaluation
library("maps")
谢谢!
答案 0 :(得分:0)
我假设您已将数据存储在文件中,因此请尝试:
library("maps")
load('~/R/win-library/3.5/maps/data/Rdata.rdb')
或尝试:
library("maps")
map('usa')