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" <[email protected]>
À: "rocher f" <[email protected]>
Cc: [email protected]
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.,
library(tcltk)
example(tkProgressBar)
Best,
John
--------------------------------
John Fox
Senator William McMaster
Professor of Social Statistics
Department of Sociology
McMaster University
Hamilton, Ontario, Canada
http://socserv.mcmaster.ca/jfox
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On
> Behalf Of [email protected]
> Sent: October-11-11 6:44 AM
> To: [email protected]
> 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?
>
> ______________________________________________
> [email protected] 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.
_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac