Worldmap包错误,grid.Call.graphics(C_polygon,x $ x,x $ y,index)中的错误:颜色名称'blackcat'无效

时间:2018-07-08 13:49:28

标签: r rworldmap

我正在尝试从此blog(从中下载R软件包的世界地图)运行代码(发布结束)

一切都很好,除非我尝试执行

wm

我明白了

> wm
Error in grid.Call.graphics(C_polygon, x$x, x$y, index) : 
  invalid color name 'blackcat'

我希望是这样,

enter image description here

如何解决问题?

install.packages(devtools)
library(devtools)
install_github("talgalili/installr", username="talgalili")
library(installr)
RStudio_CRAN_data_folder <- download_RStudio_CRAN_data(START = '2013-06-10',
                                                       END = '2013-06-17')
my_RStudio_CRAN_data <- read_RStudio_CRAN_data(RStudio_CRAN_data_folder)
wm <- pkgDNLs_worldmapcolor(pkg_name="timeROC",
                            dataset = my_RStudio_CRAN_data)
wm

0 个答案:

没有答案