You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the output is first converted with tibble::as_tibble() it prints correctly in an IDE that supports UTF-8 (e.g., RStudio).
The skimr::skim() function (https://github.com/ropensci/skimr) implements some similar methods from the pillar package to also print its histograms on Windows in compatible IDEs.
Do you think you could either implement a similar print method for precis objects to render correctly on Windows or at least provide an argument to suppress the histograms entirely?
The text was updated successfully, but these errors were encountered:
@bwiernik I have similar problem with rmarkdown::render, and I am not in Windows :-). hist=FALSE solved my problem, yes the output is not so fancy but it's fine for me.
I have pasted this answer, which works well, from Issue #168. Props to Chris for an elegant solution! Worked for me on R Studio 1.1.456 using R with R x64 4.0.3:
On Windows, R's longstanding limitations with printing UTF-8 characters means that the histograms are corrupted and render like
<U+2581>
.Created on 2020-09-07 by the reprex package (v0.3.0)
If the output is first converted with
tibble::as_tibble()
it prints correctly in an IDE that supports UTF-8 (e.g., RStudio).The skimr::skim() function (https://github.com/ropensci/skimr) implements some similar methods from the pillar package to also print its histograms on Windows in compatible IDEs.
Do you think you could either implement a similar print method for precis objects to render correctly on Windows or at least provide an argument to suppress the histograms entirely?
The text was updated successfully, but these errors were encountered: