BAAQMD / BAAQMD/tbltools

Large pivot tables get bogged down and can crash the server

Open
#2 10 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
R
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Large pivot tables get bogged down.

- The HTML is really large. In part this seems to be because the Javascript gets handed some absurdly precise values — more than ten digits. We don’t need this level of precision. Can we force scientific notation (like 123.45e6) instead?

- Sometimes it's bad enough to [crash the RStudio server](https://paper.dropbox.com/doc/RStudio-Server-FAQ--BJP3FLwSnE97ZUcct2VZ1BwMAg-GQfIWhCUnLbRHxeie1REQ#:uid=612500109521580236515986&h2=3.-How-to-Restart-My-R-Session).

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue with a large pivot table and inspect the generated HTML and the JavaScript values it receives. Done means large tables use less precise numeric representations, produce smaller HTML, and no longer crash the RStudio server.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, r
Domain
data-visualization, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.