gjwgit / rattleng

The New Generation R Analytics Desktop App
GNU General Public License v3.0
20 stars 9 forks source link

DEBUG: Summary freezes #286

Closed gjwgit closed 3 months ago

gjwgit commented 3 months ago

To Debug

  1. Load rattle_test_large.csv
  2. EXPLORE -> SUMMARY freezes
gjwgit commented 3 months ago

Need to investigate why it gets stuck after the third page - the forth dot does not appear even after 10 minutes. Cannot tap to CONSOLE (or anywhere else) to see. CPU is 100%.

By design there is no large data going into flutter - R is consuming lots of CPU with rattle the rest.

Image

gjwgit commented 3 months ago

The forth page is Hmisc::describe() - repeat on R command line to see if that is the problem. If so, drop Hmisc::describe as not providing any extra insight.

Hmisc::descibe is just fine in R

zheyxu commented 3 months ago

The forth page is Hmisc::describe() - repeat on R command line to see if that is the problem. If so, drop Hmisc::describe as not providing any extra insight.

Hmisc::descibe is just fine in R

Hi @gjwgit, the commend Hmisc::describe(ds) has on problem in Mac. And it takes about 1 min for the app to response.

gjwgit commented 3 months ago

So it might be the next command in the queue! Perhaps save the R script for DEMO and replace the weather dataset with the test dataset then run the R script

zheyxu commented 3 months ago

So it might be the next command in the queue! Perhaps save the R script for DEMO and replace the weather dataset with the test dataset then run the R script

Hi @gjwgit, the command Hmisc::contents(ds) takes most of processing time. Hmisc::describe(ds) is quick.

To replace the weather dataset with the test dataset, it should modify the rattle project. The flutter app does not load dataset from assets/data folder.

zheyxu commented 3 months ago

Link with issue https://github.com/gjwgit/rattleng/issues/298

gjwgit commented 3 months ago

I am exploring.

gjwgit commented 3 months ago

Dropping the Hmisc functions and probably CrossTab - my machine runs out of memory.

gjwgit commented 3 months ago

Original version of Rattle also does not complete Summary with all options enabled.