Dear Colleagues, When I try to install Rcmdr the following happens: ----------------------------------> library(Rcmdr)Error in structure(.External("dotTclObjv", objv, PACKAGE = "tcltk"), class "tclObj") : [tcl] invalid command name "font". Error : .onAttach failed in 'attachNamespace' Error: package/namespace load failed for 'Rcmdr' ---------------------------------- I wondered if this is because there is no "tcltk" package installed. So I tried: ----------------------------------> install.packages("tcltk")Warning in install.packages("tcltk") : argument 'lib' is missing: using '/Users/hanser/Library/R/library' Warning message: package 'tcltk' is not available ---------------------------------- Is there in fact a tcltk package? Has it been replaced by tcltk2? Help appreciated. Regards, Larry [[alternative HTML version deleted]]
I just installed Rcmd on my OSX-10.5 32-bit powerpc box, with R 2.8.1, and it seems to work (see below). Beyond that, I can't help, since I've not used this package. Good luck!> library(Rcmdr)Loading required package: tcltk Loading Tcl/Tk interface ... done Loading required package: car Rcmdr Version 1.4-7 Attaching package: 'Rcmdr' The following object(s) are masked from package:tcltk : tclvalue LarryH wrote:> > Error in structure(.External("dotTclObjv", objv, PACKAGE = "tcltk"), class > > "tclObj") : > [tcl] invalid command name "font". >-- View this message in context: http://www.nabble.com/tcltk%2C-tcltk2%2C-Rcmdr%2C-Mac-OS-X-tp21943831p21944556.html Sent from the R help mailing list archive at Nabble.com. [[alternative HTML version deleted]]
Dear Larry, The tcltk package is part of the standard R distribution; it doesn't live on CRAN, and should already be installed. Have you tried loading tcltk directly -- library(tcltk)? It's possible that you don't have X11 Tcl/Tk installed on your Mac. Take a look at the Rcmdr installation notes for Macs, at <http://socserv.mcmaster.ca/jfox/Misc/Rcmdr/installation-notes.html>, if you haven't already done so. I hope this helps, John ------------------------------ John Fox, Professor Department of Sociology McMaster University Hamilton, Ontario, Canada web: socserv.mcmaster.ca/jfox> -----Original Message----- > From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]On> Behalf Of Lawrence Hanser > Sent: February-10-09 5:01 PM > To: r-help at r-project.org > Subject: [R] tcltk, tcltk2, Rcmdr, Mac OS X > > Dear Colleagues, > When I try to install Rcmdr the following happens: > > ---------------------------------- > > library(Rcmdr) > Error in structure(.External("dotTclObjv", objv, PACKAGE = "tcltk"), class > "tclObj") : > [tcl] invalid command name "font". > > Error : .onAttach failed in 'attachNamespace' > Error: package/namespace load failed for 'Rcmdr' > ---------------------------------- > > I wondered if this is because there is no "tcltk" package installed. So I > tried: > > ---------------------------------- > > install.packages("tcltk") > Warning in install.packages("tcltk") : > argument 'lib' is missing: using '/Users/hanser/Library/R/library' > Warning message: > package 'tcltk' is not available > ---------------------------------- > > Is there in fact a tcltk package? Has it been replaced by tcltk2? > > Help appreciated. > > Regards, > > Larry > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guidehttp://www.R-project.org/posting-guide.html> and provide commented, minimal, self-contained, reproducible code.
Larry, Since it looks like you've got your problem about whipped, hope you don't mind if I piggy back on here... Same sort of problem... installed Rcmdr via the Package Installer. Followed the directions for running X11/Tk ala the site mentioned earlier.... and this is what I get when I try to run Rcmdr: > library(Rcmdr) Error in structure(.External("dotTclObjv", objv, PACKAGE = "tcltk"), class = "tclObj") : [tcl] invalid command name "font". Error : .onAttach failed in 'attachNamespace' Error: package/namespace load failed for 'Rcmdr' Any help would be greatly appreciated. Thanks, Monte