Skip to content
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

Very slow saving large widget #420

Open
dmurdoch opened this issue Oct 14, 2021 · 0 comments
Open

Very slow saving large widget #420

dmurdoch opened this issue Oct 14, 2021 · 0 comments

Comments

@dmurdoch
Copy link

This issue: dmurdoch/rgl#143 describes a situation in which htmlwidgets::saveWidget is very, very slow. I've traced into it, and it appears the slowness is all in Pandoc: the widget data is in a very long string with one entry, and this is sent to Pandoc, which takes a long time to process it.

Is there a way to save the data so that it doesn't slow down so much? It's currently a big JSON object containing lots of arrays of numbers converted to characters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant