Problemas Installing Rcmdr


I am having trouble to execute Rcmdr. This is what appears when I try to run it:

Error: package or namespace load failed for ‘Rcmdr’:
.onLoad failed in loadNamespace() for 'tcltk', details:
call: fun(libname, pkgname)
error: X11 library is missing: install XQuartz from

What can I do?


Now this problem appears:

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':
method from
cooks.distance.influence.merMod car
influence.merMod car
dfbeta.influence.merMod car
dfbetas.influence.merMod car
lattice theme set by effectsTheme()
See ?effectsTheme for details.
Error: package or namespace load failed for 'Rcmdr':
.onAttach failed in attachNamespace() for 'Rcmdr', details:
call: structure(.External(.C_dotTclObjv, objv), class = "tclObj")
error: [tcl] invalid command name "image".
In addition: Warning message:
In fun(libname, pkgname) : couldn't connect to display ":0"

Are you trying to run Rcmdr from RStudio? If so, be aware that they are not compatible, you have to run it from the R GUI instead.

Hello Andres,

Thank you for your answer. I am run it through R GUI. I have no clue what's going on.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.