为什么在Mozilla上无法使用绘图绘制的图形 [英] Why are plotly-rendered graphs not working on Mozilla
问题描述
在Mozilla Firefox中尝试打开与knitr放在一起的html文档时出现以下错误.该错误是由plotly
包组成的graph元素导致的.
I am getting the following error when trying to open an html document put together with knitr in Mozilla Firefox. The error is a result of the graph element composed with the plotly
package.
unknownError: error occurred while processing
'getCachedMessages: out of memory
rmarkdown文件的全部内容(默认为其他所有内容):
The entire contents of the rmarkdown file (default everything else):
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.我似乎没有麻烦查看其他页面上带有可打印元素的页面.该页面可以在IE中运行,没问题.
I have the most recent version of Firefox. I don't seem to have trouble viewing other pages with plotly elements on them. The page works in IE, no problem.
推荐答案
(抱歉,我没有足够的分数来回应评论)
(apologies - I do not have enough points to respond in comments)
我在R + Rmd + plotly + Firefox上遇到了同样的问题(但IE或Opera都没有问题).在Github/ropnsci/plotly上提出了以下问题-但截至2017年1月20日仍未解决:
I get same problem with R + Rmd + plotly + Firefox (but no issue with IE or Opera). The following issues have been raised at Github / ropensci / plotly - but no solutions as of 2017-01-20 :
- plotly + FlexDashboard + Firefox =大量内存消耗#721
- RMarkdown在Firefox#483中的性能很差
- R库:在Firefox中速度显着下降,但在Chrome#17中却没有(github/plotly/plotly.js/Issues/17)
- plotly + FlexDashboard + Firefox = huge memory consumption #721
- Very bad performance of RMarkdown in Firefox #483
- R library: Big slowdown in Firefox but not in Chrome #17 (github / plotly / plotly.js / issues / 17)
这篇关于为什么在Mozilla上无法使用绘图绘制的图形的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!