dcomtois / summarytools

R Package to Quickly and Neatly Summarize Data
502 stars 77 forks source link

error when using dfSummary with shiny #193

Open vikasrawal opened 9 months ago

vikasrawal commented 9 months ago

I am trying to use dfSummary in a shiny app, but get the following error with some datasets. It seems the error has something to do with unicode character encoding:

print(dfSummary(dthh),method="render", headings = FALSE, bootstrap.css = FALSE)

The error I get is:

This is a known problem with encoding/rendering of unicode characters. Various people in other fora have suggested either using useBytes=TRUE with gsub to fix this, or changing the locale settings. But neither seems to have any effect.

Would appreciate any help.