dfSummary crash in Centos 7
hi. I try to execute the example of function but I have this error: R: magick/exception.c:968: ThrowMagickExceptionList: Assertion `exception->signature == 0xabacadabUL' failed. Aborted (core dumped)
hi,make the next actions: upgrade to ImageMagick-7.0.8-57.x86_64 install : ImageMagick-debuginfo-7.0.8-57.x86_64 with that, the error is:
summarytools::dfSummary(iris) *** caught segfault *** address (nil), cause 'unknown' Traceback: 1: magick_image_readpath(path, density, depth, strip) 2: image_read(png_loc) 3: encode_graph(column_data, "histogram", graph.magnif) 4: crunch_numeric(column_data, is.character(barcode_type)) 5: summarytools::dfSummary(iris)
Possible actions: 1: abort (with core dump, if enabled) 2: normal R exit 3: exit R without saving workspace 4: exit R saving workspace Selection:
Hello,
Could you try again using the "dev-current" branch on GitHub? You'll find the installation instructions on this page: https://github.com/dcomtois/summarytools/tree/dev-current
Hope this helps, let me know pls! Thx
Hi. I install the git-dev-current version, but I have the same crash
packageVersion("summarytools") [1] ‘0.9.4’
`
options(device = "X11") library(summarytools) view(dfSummary(iris))
*** caught segfault *** address (nil), cause 'unknown'
Traceback: 1: magick_image_readpath(enc2native(path), density, depth, strip) 2: image_read(png_loc) 3: encode_graph(column_data, "histogram", graph.magnif) 4: crunch_numeric(column_data, is.character(barcode_type)) 5: dfSummary(iris) 6: view(dfSummary(iris))
Possible actions: 1: abort (with core dump, if enabled) 2: normal R exit 3: exit R without saving workspace 4: exit R saving workspace
` tks for you help
Hi,
What happens if you don't use options(device = "X11")?
Hi. I have the same error without options(device="X11"), sometimes RStudio can't resize the plot window and i need open in external view. My OS is: Operating System: CentOS Linux 7 (Core) CPE OS Name: cpe:/o:centos:centos:7 Kernel: Linux 3.10.0-957.27.2.el7.x86_64 Architecture: x86-64
Hello,
Just to make sure, have you installed 'ImageMagick-c++-devel' as explained on the main summarytools GitHub page? If you did so and still have the problem, there is a branch you could try which deals a bit differently with checks on device capabilities. After uninstalling your current summarytools version, pls try:
devtools::install_github("dcomtois/summarytools", ref = "dev-no-x11-check")
... and let me know if it helps. Thx.
Hi. I installed the summarytools 0.8.8 and the function dfsummary works !!! the problem is in the versions 0.9.x
I'm working on a solution... will keep you posted.
If you could try re-installing this version, I believe it could work:
devtools::install_github("dcomtois/summarytools", ref = "dev-current")
Pls let me know how it goes... Thx!
Hi, no I have the same crash
Hmm this is a tough one... Tried installing Cent OS 7 (Gnome) on a VM but it's very unstable... Most likely the issue lies outside of our reach (something having to do with the OS + Magick). I tried googling "centos 7 magick segmentation fault" and saw several forum threads that could be helpful.
Hi, just doing a round of cleanup on older issues, is the problem still present?