简体   繁体   English

“ plotGoogleMaps启用启动设备png”错误

[英]“plotGoogleMaps enable to start device png” error

When plotting as spatialDataFrame with a factor as the first column and many levels you get the error "plotGoogleMaps enable to start device png". 当将因数作为第一列和许多层级绘制为spatialDataFrame时,会出现错误“ plotGoogleMaps enable to start device png”。

What's wrong? 怎么了?

The problem is that it is trying to plot all the levels and the legend gets tooooo long. 问题在于,它试图绘制所有级别,并且图例变得太长了。 You should try to use a more meaningful column for the legend. 您应该尝试对图例使用更有意义的列。

I created a fork that fixes this and other issues (some values in the data.frame could prevent plotGoogleMaps from plotting) : https://bitbucket.org/cmbce/plotgooglemaps . 我创建了一个叉子来解决此问题和其他问题(data.frame中的某些值可能会阻止plotGoogleMaps绘制): https ://bitbucket.org/cmbce/plotgooglemaps。 It is easy to install with devtools. 使用devtools可以轻松安装。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 错误:无法启动 png() 设备 - Error : Unable to start png() device 绘制编织错误:“无法启动 png() 设备” - Plot knitting error : “unable to start png() device” 从plotGoogleMaps加载结果时出错 - Error in loading the results from plotGoogleMaps ggsave() 失败并在 png_dev(..., res = dpi, units = "in") 中出现错误:无法启动 png() 设备 - ggsave() fails with Error in png_dev(..., res = dpi, units = "in") : unable to start png() device jupyter 中的 r 图形 - 无法启动 png() 设备 - r graphs in jupyter - unable to start png() device 这是什么错误; “(函数(文件名 =“Rplot%03d.png”,宽度 = 480,高度 = 480,:无法启动 png() 设备)中的错误? - What is this error; "Error in (function (filename = "Rplot%03d.png", width = 480, height = 480, : unable to start png() device"? R无法启动设备PNG - 功能()对于PNG是否为TRUE? - R unable to start device PNG - capabilities() has TRUE for PNG? R Markdown使用动态字符串扩展:无法启动png()设备时出现错误,没有明确的原因有时 - R Markdown Expanding with Dynamic String: Error unable to start png() device Shows Up Occasionally Without Clear Reason 无法导出绘图:R 代码执行错误/无法启动 png() 设备 - Unable to export plot: R code execution error/ unable to start png() device 无法启动 plot 名称的 png() 设备使用“粘贴”function 创建 - unable to start png() device for plot names create with "paste" function
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM