English 中文(简体)
Cannot在安装4.0.0R之后展示地图输出
原标题:Cannot display mapview output after installing R 4.0.0

在我安装了R4.0.0之后,我无法在RStudio的观众中显示mapview输出。 如果有人能够给我一些方面解决,那将是巨大的。

这里是一个例子。

library(mapview)

mapview(breweries)

这里是我的《视听观点》的筛选。 没有任何错误的信息,但观众只是空白。

“enterography

这里是我的会议资料,我正在使用《座典》文本1.1.442

sessionInfo()
# R version 4.0.0 (2020-04-24)
# Platform: x86_64-w64-mingw32/x64 (64-bit)
# Running under: Windows >= 8 x64 (build 9200)
# 
# Matrix products: default
# 
# locale:
# [1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252    LC_MONETARY=English_United States.1252
# [4] LC_NUMERIC=C                           LC_TIME=English_United States.1252    
# 
# attached base packages:  
# [1] stats     graphics  grDevices utils     datasets  methods   base     
# 
# other attached packages:
# [1] mapview_2.7.8
# 
# loaded via a namespace (and not attached):
#  [1] Rcpp_1.0.4.6            RColorBrewer_1.1-2      compiler_4.0.0          base64enc_0.1-3         class_7.3-17           
#  [6] tools_4.0.0             digest_0.6.25           uuid_0.1-4              jsonlite_1.6.1          satellite_1.0.2        
# [11] lifecycle_0.2.0         lattice_0.20-41         viridisLite_0.3.0       png_0.1-7               rlang_0.4.6            
# [16] DBI_1.1.0               crosstalk_1.1.0.1       yaml_2.2.1              e1071_1.7-3             raster_3.1-5           
# [21] leaflet.providers_1.9.0 gdtools_0.2.2           htmlwidgets_1.5.1       systemfonts_0.2.3       stats4_4.0.0           
# [26] classInt_0.4-3          leaflet_2.0.3           grid_4.0.0              webshot_0.5.2           svglite_1.2.3          
# [31] sf_0.9-3                R6_2.4.1                sp_1.4-2                leafpop_0.0.5           magrittr_1.5           
# [36] scales_1.1.1            codetools_0.2-16        htmltools_0.4.0         units_0.6-6             colorspace_1.4-1       
# [41] brew_1.0-6              KernSmooth_2.23-17      munsell_0.5.0           leafem_0.1.1
最佳回答
问题回答

解决问题:

我刚刚安装了4.4.0号R版,并将Rstudio升级为2024.04号R735。 我突然无法使用与上述相同症状的地图。 The Viewer pane only come up blank. 试图在地皮包中展示粗金刚制成的植被也是这样。

正如我通过把指挥权交给我来发现的。

www.un.org/Depts/DGACM/index_russian.htm

在地图勘测指挥部解决这一问题之前。

例如,试图:

library(mapview)
options(viewer = NULL)
mapview(breweries)

“entergraph





相关问题
How to plot fitted model over observed time series

This is a really really simple question to which I seem to be entirely unable to get a solution. I would like to do a scatter plot of an observed time series in R, and over this I want to plot the ...

REvolution for R

since the latest Ubuntu release (karmic koala), I noticed that the internal R package advertises on start-up the REvolution package. It seems to be a library collection for high-performance matrix ...

R - capturing elements of R output into text files

I am trying to run an analysis by invoking R through the command line as follows: R --no-save < SampleProgram.R > SampleProgram.opt For example, consider the simple R program below: mydata =...

R statistical package: wrapping GOFrame objects

I m trying to generate GOFrame objects to generate a gene ontology mapping in R for unsupported organisms (see http://www.bioconductor.org/packages/release/bioc/vignettes/GOstats/inst/doc/...

Changing the order of dodged bars in ggplot2 barplot

I have a dataframe df.all and I m plotting it in a bar plot with ggplot2 using the code below. I d like to make it so that the order of the dodged bars is flipped. That is, so that the bars labeled "...

Strange error when using sparse matrices and glmnet

I m getting a weird error when training a glmnet regression. invalid class "dgCMatrix" object: length(Dimnames[[2]]) must match Dim[2] It only happens occasionally, and perhaps only under larger ...

Generating non-duplicate combination pairs in R

Sorry for the non-descriptive title but I don t know whether there s a word for what I m trying to achieve. Let s assume that I have a list of names of different classes like c( 1 , 2 , 3 , 4 ) ...

Per panel smoothing in ggplot2

I m plotting a group of curves, using facet in ggplot2. I d like to have a smoother applied to plots where there are enough points to smooth, but not on plots with very few points. In particular I d ...

热门标签