如题,我在我电脑上输入echarts4r.map 包官网例子的代码没有报错,但 viewer 窗格一片空白。这个问题太玄了,不知上哪开始查问题,请各位路过的友邻帮忙看看有没跟我遇到一样情况的。
代码如下:
library(echarts4r)
library(echarts4r.maps)
maps <- c("China","Japan")
e_charts() %>%
em_maps(maps, "myMap") %>%
e_map(map = "myMap")
环境信息如下:
> sessionInfo()
R version 4.1.1 (2021-08-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19043)
Matrix products: default
locale:
[1] LC_COLLATE=Chinese (Simplified)_China.936 LC_CTYPE=Chinese (Simplified)_China.936
[3] LC_MONETARY=Chinese (Simplified)_China.936 LC_NUMERIC=C
[5] LC_TIME=Chinese (Simplified)_China.936
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] echarts4r_0.4.2 echarts4r.maps_0.0.2
loaded via a namespace (and not attached):
[1] Rcpp_1.0.7 magrittr_2.0.1 tidyselect_1.1.1 xtable_1.8-4 R6_2.5.1 rlang_0.4.11
[7] fastmap_1.1.0 fansi_0.5.0 dplyr_1.0.7 tools_4.1.1 utf8_1.2.2 htmltools_0.5.2
[13] ellipsis_0.3.2 yaml_2.2.1 digest_0.6.28 tibble_3.1.5 lifecycle_1.0.1 crayon_1.4.2
[19] shiny_1.7.1 purrr_0.3.4 later_1.3.0 htmlwidgets_1.5.4 vctrs_0.3.8 promises_1.2.0.1
[25] mime_0.12 glue_1.4.2 compiler_4.1.1 pillar_1.6.4 generics_0.1.1 jsonlite_1.7.2
[31] httpuv_1.6.3 pkgconfig_2.0.3