When I try to install summary tools package in Mac,it comes as installed
But when try to load
library(summarytools)
Error: package or namespace load failed for ‘summarytools’:
.onLoad failed in loadNamespace() for 'tcltk', details:
call: fun(libname, pkgname)
error: X11 library is missing: install XQuartz from xquartz.macosforge.org
I got the same warning message using RStudio 1.2.1335 on Mac (R 3.6.1).
I installed XQuartz and now I get:
library(summarytools)
Registered S3 method overwritten by 'pryr':
method from
print.bytes Rcpp
system has no X11 capabilities, therefore only ascii graphs will be produced by dfSummary()
Warning message:
In fun(libname, pkgname) : couldn't connect to display ":0"