gpt4 book ai didi

r - 为什么 plotly-rendered 图表在 Mozilla 上不起作用

转载 作者:行者123 更新时间:2023-12-01 14:04:04 27 4
gpt4 key购买 nike

尝试在 Mozilla Firefox 中打开与 knitr 放在一起的 html 文档时出现以下错误。该错误是由 plotly 包组成的图形元素导致的。

unknownError: error occurred while processing 
'getCachedMessages: out of memory

rmarkdown 文件的全部内容(默认所有其他内容):

library(plotly)
library(ggplot2)
theData <- data.frame(A=1:26, B=letters, C=rnorm(26,19))

g<-ggplot(theData, aes(x=A, y=C)) +
geom_point()
ggplotly(g)

我有最新版本的 Firefox。我在查看其他带有 plotly 元素的页面时似乎没有问题。该页面在 IE 中工作,没问题。

最佳答案

(抱歉 - 我没有足够的积分来回复评论)

我在使用 R + Rmd + plotly + Firefox 时遇到了同样的问题(但 IE 或 Opera 没有问题)。 Github/ropensci/plotly 提出了以下问题 - 但截至 2017-01-20 没有解决方案:

  1. plotly + FlexDashboard + Firefox = huge memory consumption #721
  2. Very bad performance of RMarkdown in Firefox #483
  3. R 库:在 Firefox 中速度大幅下降但在 Chrome 中没有下降 #17 (github/plotly/plotly.js/issues/17)

关于r - 为什么 plotly-rendered 图表在 Mozilla 上不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41601669/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com