Dear Larry, That's odd: The only lmer of which I'm aware is a function in the lme4 package, and it creates objects of class "mer," I believe. What this has to do with the Rcmdr package is beyond me, since the Rcmdr doesn't depend upon lme4, but, on the other hand, shouldn't conflict with it. I don't think that you've mentioned it, but I assume that you're using the current version (1.4-7) of the Rcmdr package.
Is it possible that you have a saved and damaged workspace that's being loaded at the start of your R session? If so, remove the saved workspace (I'm afraid that I don't know where that lives on a Mac, but I suppose that getwd() would show you). John > -----Original Message----- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf Of Lawrence Hanser > Sent: February-10-09 7:43 PM > To: r-help@r-project.org > Subject: Re: [R] tcltk, tcltk2, Rcmdr, Mac OS X > > Thanks. > I seem to have gotten a bit further, but still not completely successful. > > BTW, I should have said that I am running R 2.8.1 GUI 1.27 Tiger build > 32-bit (5301). > > X11 starts fine from the icon. > library(tcltk) loads fine. > > Now I get this when I load Rcmdr: > > ------------------------------ > > library(Rcmdr) > Loading required package: car > Error in getClass(class(x)) : "lmer" is not a defined class > Error : .onAttach failed in 'attachNamespace' > Error: package/namespace load failed for 'Rcmdr' > ------------------------------ > > Any help would be appreciated. > > Larry > > > > On Tue, Feb 10, 2009 at 3:08 PM, John Fox <j...@mcmaster.ca> wrote: > > > 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-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > > On > > > Behalf Of Lawrence Hanser > > > Sent: February-10-09 5:01 PM > > > To: r-help@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@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. > > > > > > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@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. ______________________________________________ R-help@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.