dcomtois/summarytools

Absolute max for dfSummary? Error when max.distinct.values>220

SugarRayLua opened this issue · 2 comments

Hi, and thanks for making the great summary tools package!

I have a lot of unique text values in a dataset I'm working on and thus tried to set in dfSummary function:

max.distinct.values = 229 (I have 229 rows)

However, when I do so I get the following error in Microsoft R Open version 4.0 on Rgui Windows version:

Error: Rgui.exe: GeometryDoesNotContainImage 'C:pathToATempLocalFile.png' @ warning/attribute.c/GetImageBoundingBox/534

It doesn't give me that error when I set the max.distinct.values at 220

Is this a limitation of dfSummary or something else wrong with my package?

Thanks!

There is no limit in dfSummary's code. However, the GeometryDoesNotContainImage is likely a limitation of ImageMagick, which tries to write an incredibly "tall" image and runs into some brickwall. I was able to get to close to 2000 distinct values and got the same as you did. I would dig in that direction... Try this search for instance

Thank you!