Closed alexkrolak closed 4 years ago
Hi Alex!
The data should have been generated successfully, but there is a still not fully understood issue with string encodings on Windows that causes all results to be stripped out.
Try options(skimr_strip_metadata = FALSE)
.
Best wishes, Michael
This also might be an interaction with crayon, you could try options(crayon.enabled = FALSE)
.
This also might be an interaction with crayon, you could try
options(crayon.enabled = FALSE)
.
I saw this response first so I tried it. Couldn't believe it worked! Thank you very much for the feedback.
options(crayon.enabled = FALSE) iris %>% skim -- Data Summary ------------------------ Values
Name Piped data Number of rows 150
Number of columns 5
Column type frequency:
factor 1
numeric 4
Group variables None
-- Variable type: factor -------------------------------------------------------
skim_variable n_missing complete_rate ordered n_unique top_counts
1 Species 0 1 FALSE 3 set: 50, ver: 50, vir: 50
-- Variable type: numeric ------------------------------------------------------ skim_variable n_missing complete_rate mean sd p0 p25 p50 p75 p100 hist 1 Sepal.Length 0 1 5.84 0.828 4.3 5.1 5.8 6.4 7.9 ▆▇▇▅▂ 2 Sepal.Width 0 1 3.06 0.436 2 2.8 3 3.3 4.4 ▁▆▇▂▁ 3 Petal.Length 0 1 3.76 1.77 1 1.6 4.35 5.1 6.9 ▇▁▆▇▂ 4 Petal.Width 0 1 1.20 0.762 0.1 0.3 1.3 1.8 2.5 ▇▁▇▅▃
I've switched to my home machine from my work one and I just updated R and a bunch of libraries. Currently, whenever I try to skim() data, it returns this truncated/shortened result no matter the dataset. Is this a known issue?
Running Skim()
-- Variable type: factor -------------------------------------------------------
-- Variable type: numeric ------------------------------------------------------
SessionInfo()
Matrix products: default
locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252 [4] LC_NUMERIC=C LC_TIME=English_United States.1252
attached base packages: [1] stats graphics grDevices utils datasets methods base
other attached packages: [1] xgboost_0.90.0.2 caret_6.0-84 lattice_0.20-38 DataExplorer_0.8.0 skimr_2.0.2 ggplot2_3.2.1 dplyr_0.8.3
[8] data.table_1.12.6
loaded via a namespace (and not attached): [1] Rcpp_1.0.3 lubridate_1.7.4 tidyr_1.0.0 class_7.3-15 utf8_1.1.4 zeallot_0.1.0 assertthat_0.2.1
[8] digest_0.6.23 ipred_0.9-9 foreach_1.4.7 R6_2.4.1 plyr_1.8.4 repr_1.0.1 backports_1.1.5
[15] stats4_3.6.1 evaluate_0.14 pillar_1.4.2 rlang_0.4.2 lazyeval_0.2.2 rpart_4.1-15 Matrix_1.2-17
[22] rmarkdown_1.18 splines_3.6.1 gower_0.2.1 stringr_1.4.0 htmlwidgets_1.5.1 igraph_1.2.4.2 munsell_0.5.0
[29] compiler_3.6.1 xfun_0.11 pkgconfig_2.0.3 base64enc_0.1-3 htmltools_0.4.0 nnet_7.3-12 tidyselect_0.2.5
[36] tibble_2.1.3 gridExtra_2.3 prodlim_2019.11.13 codetools_0.2-16 fansi_0.4.0 crayon_1.3.4 withr_2.1.2
[43] MASS_7.3-51.4 recipes_0.1.7 ModelMetrics_1.2.2 grid_3.6.1 nlme_3.1-140 jsonlite_1.6 gtable_0.3.0
[50] lifecycle_0.1.0 magrittr_1.5 scales_1.1.0 cli_1.1.0 stringi_1.4.3 reshape2_1.4.3 timeDate_3043.102 [57] generics_0.0.2 vctrs_0.2.0 lava_1.6.6 iterators_1.0.12 tools_3.6.1 glue_1.3.1 purrr_0.3.3
[64] networkD3_0.4 parallel_3.6.1 survival_2.44-1.1 yaml_2.2.0 colorspace_1.4-1 knitr_1.26