dcomtois / summarytools

R Package to Quickly and Neatly Summarize Data
523 stars 78 forks source link

library("summarytools") is giving error system might not have X11 capabilities; in case of errors when using dfSummary(), set st_options(use.x11 = FALSE) Warning message: no DISPLAY variable so Tk is not available #162

Closed Kmumuda closed 2 years ago

Kmumuda commented 2 years ago

system might not have X11 capabilities; in case of errors when using dfSummary(), set st_options(use.x11 = FALSE) Warning message: no DISPLAY variable so Tk is not available Its already installed as captured in the screen shot still unable to import it

image

dcomtois commented 2 years ago

Are you saying you can't load the package at all (with library(summarytools)) ?

michaelcabana commented 2 years ago

tengo este problema para poder utilizar esta librera "summarytools" que hago?? tengo windows 7

install.packages("summarytools") WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:

https://cran.rstudio.com/bin/windows/Rtools/ Installing package into ‘C:/Users/Michael/AppData/Local/R/win-library/4.2’ (as ‘lib’ is unspecified) also installing the dependency ‘magick’

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.2/magick_2.7.3.zip' Content type 'application/zip' length 19428176 bytes (18.5 MB) downloaded 6.7 MB

Warning in install.packages : downloaded length 7051295 != reported length 19428176 Warning in install.packages : URL 'https://cran.rstudio.com/bin/windows/contrib/4.2/magick_2.7.3.zip': Timeout of 60 seconds was reached Error in download.file(url, destfile, method, mode = "wb", ...) : download from 'https://cran.rstudio.com/bin/windows/contrib/4.2/magick_2.7.3.zip' failed Warning in install.packages : download of package ‘magick’ failed trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.2/summarytools_1.0.1.zip' Content type 'application/zip' length 1418245 bytes (1.4 MB) downloaded 1.4 MB

package ‘summarytools’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in C:\Users\Michael\AppData\Local\Temp\Rtmp8Mt9xY\downloaded_packages

dcomtois commented 2 years ago

Unclear what exactly is the problem here... will reopen if more details are provided.