I'm trying to install summarytools with some issues. I first got an error when I tried install.packages("summarytools") that asked me to install xQuartz for Mac (I'm on Mac M1) which I did. Now I'm getting this error when I use library:
system might not have X11 capabilities; in case of errors when using dfSummary(), set st_options(use.x11 = FALSE)
In fun(libname, pkgname) : couldn't connect to display ":0"
I've tried installing via GitHub - using some script I found on another forum which also didn't work.
I've also updated to latest silicon version of R and R Studio.
Does anyone have any suggestions?