I am using summarytools
in rmarkdown
and I followed the instructions to print a summary statistics table, but it would not work:
dfSummary(tobacco, plain.ascii = FALSE, style = "grid",
graph.magnif = 0.75, valid.col = FALSE, tmp.img.dir = "/tmp")
I get an error:
Error in magick_image_write, RGB color space not permitted on grayscale PNG
Is there a way to get around the error? I checked and magick
is installed properly.