-
Notifications
You must be signed in to change notification settings - Fork 633
Very bad performance of RMarkdown in Firefox #483
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Opening this in Firefox 46.0.1 on Windows 10 I receive the warning message: The same issue happens for me when opening any HTML-Widgets based plotly charts saved to .html file from RStudio. It appears that with a clean restart of Firefox I can often get one plot to load properly, although it is still very slow and consumes more than 1GB of RAM whereas opening the same .html in Chrome or Edge is fast and uses less than 100MB. The crash/exception issue with Firefox does not appear to happen when I manually replace the reference to plotly.js version 1.10.1 used by RStudio with plotly.js version 1.12. I do still receive the warning message regarding line 3419 in plotly.js but it is no longer unstable in Firefox for me. 3418 if (Buffer.TYPED_ARRAY_SUPPORT) { |
I'm having the same problem with Firefox 51.0.1 and Plotly 4.5.6 for R. |
same here... any news on the issue? Problems seem to persist with FF 52.0 . |
note to self: hoping plotly/plotly.js#1525 fixes this |
If it's the same source, the I can definitely confirm that the page is perfectly snappy in chrome and very problematic in firefox. |
Ok, this definitely has something to do with
|
Thanks for the implicit tip. It worked for me once I used |
I can confirm it works with |
I have a feeling this issue is related to the fact that pandoc <2.0 used data URIs to embed dependencies, but pandoc >2.0 uses cleartext. Closing since upgrading to pandoc >2.0 seems to fix #483 (comment), but please reopen if you find more (related) problems |
I have RMarkdown document with several Plotly 3D charts. I convert it to HTML using RStudio's knitr and get HTML. This HTML file cannot be opened with Firefox: the browser starts complaining about unresponsive script, eats a lot of memory and finally hangs. The same charts created by Jupyter / IPython Notebook and converted to HTML can be opened with Firefox.
You can see the testcase here.
I'm using Mac OS X and Firefox 44.0.2.
It seems to be more-or-less Firefox-specific issue as the test HTML file can be opened with Google Chrome and Safari.
The text was updated successfully, but these errors were encountered: