the-Hull / datacleanr

Interactive and Reproducible Data Cleaning
https://the-hull.github.io/datacleanr
GNU General Public License v3.0
19 stars 5 forks source link

No overview/graph output on the console. #10

Closed Kelp1900 closed 3 years ago

Kelp1900 commented 3 years ago

When I use this package with any sample data, the console wouldn't return any information about the data I put in. Instead, when click on "set and start", then "generate overview", I can only see the panel being masked and turning greyish. image

the-Hull commented 3 years ago

Hi @Kelp1900,

thanks for reporting the issue. Could you please execute sessionInfo() and copy-paste the info here? Also, did you get any error message in your R console?

Kelp1900 commented 3 years ago

Hi,

I don't get any error message in R console. And here's what I get from sessionInfo():

sessionInfo() R version 3.6.3 (2020-02-29) Platform: x86_64-apple-darwin15.6.0 (64-bit) Running under: macOS Catalina 10.15.7

Matrix products: default BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib LAPACK: /Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libRlapack.dylib

locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages: [1] stats graphics grDevices utils datasets methods base

other attached packages: [1] shiny_1.6.0 RAPTOR_1.0.1 dplyr_1.0.4 datacleanr_1.0.1

loaded via a namespace (and not attached): [1] Rcpp_1.0.6 lubridate_1.7.9.2 lattice_0.20-41 tidyr_1.1.2 assertthat_0.2.1
[6] digest_0.6.27 mime_0.10 plyr_1.8.6 R6_2.5.0 backports_1.2.1
[11] httr_1.4.2 ggplot2_3.3.3 pillar_1.4.7 rlang_0.4.10 lazyeval_0.2.2
[16] rstudioapi_0.13 data.table_1.14.0 jquerylib_0.1.3 blob_1.2.1 magick_2.6.0
[21] Matrix_1.2-18 DT_0.17 checkmate_2.0.0 splines_3.6.3 stringr_1.4.0
[26] pander_0.6.3 htmlwidgets_1.5.3 munsell_0.5.0 tinytex_0.26 compiler_3.6.3
[31] httpuv_1.5.5 xfun_0.18 pkgconfig_2.0.3 base64enc_0.1-3 mgcv_1.8-31
[36] htmltools_0.5.1.1 tidyselect_1.1.0 tibble_3.0.6 codetools_0.2-16 matrixStats_0.58.0 [41] viridisLite_0.3.0 crayon_1.4.1 later_1.1.0.1 grid_3.6.3 nlme_3.1-149
[46] jsonlite_1.7.2 xtable_1.8-4 gtable_0.3.0 lifecycle_1.0.0 DBI_1.1.0
[51] magrittr_2.0.1 scales_1.1.1 cli_2.3.0 stringi_1.5.3 cachem_1.0.4
[56] pryr_0.1.4 fs_1.5.0 promises_1.2.0.1 bslib_0.2.4 ellipsis_0.3.1
[61] rapportools_1.0 shinyFiles_0.9.0 generics_0.1.0 vctrs_0.3.6 tools_3.6.3
[66] glue_1.4.2 purrr_0.3.4 crosstalk_1.1.1 fastmap_1.1.0 yaml_2.2.1
[71] colorspace_2.0-0 plotly_4.9.3 sass_0.3.1

the-Hull commented 3 years ago

Thanks for the info. And just to confirm - did you try running datacleanr::dcr_app(iris) for example, when you refer to sample data, or did you run library(datacleanr) followed by dcr_app(iris)? You don't seem to have the required package "summarytools" active in your session, which would explain why the app greys out once you click the button. Is it installed on your system? Try:

print(summarytools::dfSummary(iris), method = "render")

In addition, we have had some issues with macOS installations previously based on a dependency on XQuartz, which is not installed with the operating system natively anymore. I did try to remove that dependency, though.

If the code above doesn't work, I would recommend:

  1. trying to install summarytools manually (install.packages("summarytools")
  2. re-run the code
  3. if you still get an error, install XQuartz (see below)

Following the links here should explain why and how to get XQuartz: https://cran.r-project.org/bin/macosx/ (under Latest Release).

Kelp1900 commented 3 years ago

Hi,

Installing XQuartz solved the problem immediately. Thanks a lot!

the-Hull commented 3 years ago

Perfect, thanks for reporting back!