r - ggplot2 对象上的 ggplotly 函数崩溃 R & RStudio
问题描述
ggplotly()
对 ggplot2 对象的简单调用会使 RStudio 崩溃。下面开始简单的代码。
library(plotly)
library(tidyverse)
iris.ggplot <- ggplot(data = iris,
aes(x = Sepal.Length, y = Sepal.Width, color = Species)) +
geom_point()
print(iris.ggplot)
ggplotly(iris.ggplot)
解决方案
推荐阅读
- javascript - 如何从Javascript中的对象数组中区分和合并对象
- numpy - Numpy 使用索引数组对多个 2D 范围进行切片
- java - RecyclerView 列表不可见
- c# - asp:TextBox - 有没有办法让 OnTextChanged 工作,即使在设置可见 = false 之后?
- c - 如何在 c 中初始化全局结构?
- angular - Angular Element v/s 在 app.component.ts 中自定义选择器
- mysql - curl 操作中的 Node-js 日志存储在哪里?
- ios - Cocos2d-x 4.0 新项目不包含 xcodeproj 文件
- asp.net-core-mvc - 我们可以在 ASP.NET Core 2.2 MVC 中为图像设置不同的根目录吗?
- javascript - 为什么 React-app 状态没有在这里重新渲染?如何让状态及时更新