Dear all,
A friend of mine, who just installed Rcmdr package. When calling the
package, the error as following comes up. And actually, I've checked in CRAN
packages, the tcltk package doesn't exist anymore, but tcltk2.
Any help is appreciated
Regards
Nguyen D Nguyen
Garvan Institute of Medical Research
Sydney, Australia
library(Rcmdr)
Loading required package: tcltk
Loading Tcl/Tk interface ...Error in structure(.External("dotTclObjv",
objv,
PACKAGE = "tcltk"), class = "tclObj") :
[tcl] invalid command name "se".
Error : .onLoad failed in 'loadNamespace' for 'tcltk'
Error: package 'tcltk' could not be loaded
Nguyen Dinh Nguyen wrote:> Dear all, > A friend of mine, who just installed Rcmdr package. When calling the > package, the error as following comes up. And actually, I've checked in CRAN > packages, the tcltk package doesn't exist anymore, but tcltk2. > Any help is appreciated > Regards > Nguyen D Nguyen > Garvan Institute of Medical Research > Sydney, Australia >Tcltk is part of R. The error suggests a corrupted file, or maybe a name clash. Does a plain library(tcltk) generate the same error?> library(Rcmdr) > Loading required package: tcltk > Loading Tcl/Tk interface ...Error in structure(.External("dotTclObjv", objv, > PACKAGE = "tcltk"), class = "tclObj") : > [tcl] invalid command name "se". > > Error : .onLoad failed in 'loadNamespace' for 'tcltk' > Error: package 'tcltk' could not be loaded > > ______________________________________________ > 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. >-- O__ ---- Peter Dalgaard ?ster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
Dear Nguyen D Nguyen,
The tcltk package is part of the standard R distribution. I'm not sure why
you got this error, and you don't provide any details about your
friend's
system (OS, version of R, version of the Rcmdr package). To see why the
problem lies, you might try loading just the tcltk package via
library(tcltk). If that doesn't work, then something must be broken in the R
installation or perhaps Tcl/Tk isn't installed on the system.
I hope this helps,
John
------------------------------
Original message:
Nguyen Dinh Nguyen n.nguyen at garvan.org.au
Mon Sep 1 02:09:28 CEST 2008
Dear all,
A friend of mine, who just installed Rcmdr package. When calling the
package, the error as following comes up. And actually, I've checked in CRAN
packages, the tcltk package doesn't exist anymore, but tcltk2.
Any help is appreciated
Regards
Nguyen D Nguyen
Garvan Institute of Medical Research
Sydney, Australia
library(Rcmdr)
Loading required package: tcltk
Loading Tcl/Tk interface ...Error in structure(.External("dotTclObjv",
objv,
PACKAGE = "tcltk"), class = "tclObj") :
[tcl] invalid command name "se".
Error : .onLoad failed in 'loadNamespace' for 'tcltk'
Error: package 'tcltk' could not be loaded
------------------------------
John Fox, Professor
Department of Sociology
McMaster University
Hamilton, Ontario, Canada
web: socserv.mcmaster.ca/jfox