Hello, I am using this program for a graduate course and have no idea how to solve this error and I'm way out of my league in troubleshooting code of this nature. I appreciate any and all help.
Code from window:
Loading required package: splines
Loading required package: RcmdrMisc
Loading required package: car
Loading required package: carData
Loading required package: sandwich
Loading required package: effects
Registered S3 methods overwritten by 'lme4':
lattice theme set by effectsTheme()
See ?effectsTheme for details.
Error: package or namespace load failed for ‘Rcmdr’:
.onLoad failed in loadNamespace() for 'Rcmdr', details:
call: structure(.External(.C_dotTclObjv, objv), class = "tclObj")
error: [tcl] invalid command name "tk_messageBox".
In addition: Warning message:
In fun(libname, pkgname) : couldn't connect to display ":0"
Package "Rcmdr" downloaded successfully but when I typed library(Rcmdr), this error came up
- OS Version: 10.12.6 macOS Sierra
- R Version: R 3.6.0 binary for OS X 10.11 or higher