I have difficulty in installing and running the Rcmdr package. I have downloaded all packages needed and XQuartz. I also downloaded package from R.app. I tried running it both on R.app and Rstudio and it doesn't work. Here is the error that goes repeatedly:
Error: package or namespace load failed for 'Rcmdr':
.onAttach failed in attachNamespace() for 'Rcmdr', details:
call: as.data.frame.default(x[[i]], optional = TRUE)
error: cannot coerce class '"tclObj"' to a data.frame
Thanks for your help.