[R-SIG-Mac] [R] How to run Rcmdr with OS 10.4?

rocher.f at free.fr rocher.f at free.fr
Wed Oct 12 19:10:32 CEST 2011

Dear Professor,

Thank you for your help.
Yes I daily work with OS X4… and I know how R run better and faster with OS X6 : they're installed on my private computer! Unfortunately, I don't need statistics at home!!

Concerning my problem, I've checked it and you're right : tcltk doesn't work correctly. Here is the warning message :

> library(tcltk)
> example(tkProgressBar)

tkPrgB> ## No test: 
tkPrgB> pb <- tkProgressBar("test progress bar", "Some information in %",
tkPrgB+                     0, 100, 50)
Erreur dans structure(.External("dotTclObjv", objv, PACKAGE = "tcltk"), class = "tclObj") : 
  [tcl] invalid command name "toplevel".

It looks like an environment problem… but I don't understand what.

Best regards,

F. Rocher

----- Mail original -----
De: "John Fox" <jfox at mcmaster.ca>
À: "rocher f" <rocher.f at free.fr>
Cc: r-sig-mac at r-project.org
Envoyé: Mercredi 12 Octobre 2011 18:11:26
Objet: RE: [R] How to run Rcmdr with OS 10.4?

Dear rocher.f,

I'm moving this discussion to the r-sig-mac list, where you're more likely to get an informative response.

The Rcmdr package did work with Mac OS X 10.4 and versions 2.9.2 and 2.10.2 of R, but all of these versions are quite old, and I'm afraid that I no longer have an OS X 10.4 system. Maybe someone else with better memory of Mac OS X versions and older versions of R for the Mac will be able to tell you what to do. I do recall something about starting up X11 directly.

It looks as if the problem lies with Tcl/Tk, and you could check that by loading and testing the tcltk package independently of the Rcmdr, e.g.,



John Fox
Senator William McMaster
  Professor of Social Statistics
Department of Sociology
McMaster University
Hamilton, Ontario, Canada

> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On
> Behalf Of rocher.f at free.fr
> Sent: October-11-11 6:44 AM
> To: r-help at r-project.org
> Subject: [R] How to run Rcmdr with OS 10.4?
> I've installed Rcmdr package and it doesn't run Here is the error message:
> R version 2.9.2 (2009-08-24)
> [R.app GUI 1.29 (5464) powerpc-apple-darwin8.11.1]
> [Workspace restored from /Users/jfc/Documents/TravauxFR/.RData]
> Le chargement a nécessité le package : tcltk Chargement de Tcl/Tk... terminé
> Le chargement a nécessité le package : car Error in
> structure(.External("dotTclObjv", objv, PACKAGE = "tcltk"), class = "tclObj")
> :
>   [tcl] invalid command name "font".
> De plus : Warning message:
> In fun(...) : couldn't connect to display ":0"
> Error : .onAttach a échoué dans 'attachNamespace'
> Erreur : le chargement du package / espace de noms a échoué pour 'Rcmdr'
> I've tried another version 2.10.2 and Rcmdr with its dependences and it
> returns the same warnings!
> I feel that something lacks on my computer. X11 works and I've installed
> TcTlk 8.5.5-x11.
> What else to do?
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

More information about the R-SIG-Mac mailing list