Hello, I am making a new post. Previously, I had an infinite loop of errors in my last post. I am trying to open R commander, and I am running into this error. Does anyone know how to fix this?
I redownloaded XQuartz X11
> library(Rcmdr)
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".
Just in case anyone runs into this problem in the future with a MAC!
I was told to check if your build of R was done with tcltk by entering capabilities() and looking at the tcltk component. If it says FALSE then your build cannot run software that uses tcltk. Also check if any of the list of stuff that pops up are FALSE.
I'm unsure what to do if tcltk is FALSE, but mine was TRUE. However, my X11 was FALSE.
I watched https://www.youtube.com/watch?v=JSBSmeq5dLI, and followed those steps with the terminal. Then I redownloaded XQuartz directly from the R website and then R. I downloaded the Rcmdr packages using the App Menu bar under Packages. And then it worked for me!