Thank you Michael !!! Problem solved~~ I forgot to hit "Reply all", I will keep that in mind.
Best, Chenwei On Fri, Jul 6, 2012 at 11:52 PM, Michael Weylandt < michael.weyla...@gmail.com> wrote: > Please do keep messages on list unless there's a particular reason to take > them private: it increases your visibility to the wider community and, by > extension, your chance of getting a good reply. > > > > On Jul 6, 2012, at 10:43 PM, Chenwei Gao <ga...@umich.edu> wrote: > > Thank you so much Michael !! > > But I got this message after I did as you tole me: > > > install.packages("car") > Installing package(s) into > /science/users/gaoch/R/x86_64-unknown-linux-gnu-library/2.14 > (as lib is unspecified) > --- Please select a CRAN mirror for use in this session --- > Loading Tcl/Tk interface ... done > > > Hmmm... there might be something wrong on your tcl/tk setup, but I'm not > really qualified to help with that. > > For now, use chooseCRANmirror(graphics = FALSE) to get a text based > approach to setting that session's CRAN mirror. I personally prefer text > mirrors throughout, so I set options(menu.graphics = FALSE) in my > .Rprofile. > > Best, > Michael > > So a window should pop open to show a list of mirrors, right? But I've > been waiting for over ten min, the prompt disappeared as well so I suppose > it is still running. > What's the problem?? > > Thanks, > Chenwei > > On Fri, Jul 6, 2012 at 11:08 PM, R. Michael Weylandt < > michael.weyla...@gmail.com> wrote: > >> Install.packages needs a quoted argument -- the error message suggests >> that its looking for a variable named `car` and not finding it -- in >> fact, most functions taking package names do, but library() allows >> some trickery, which is convenient, but occasionally leads to mishaps >> like this. >> >> install.packages("car") >> >> should work. >> >> Best, >> Michael >> >> On Fri, Jul 6, 2012 at 7:39 PM, Chenwei Gao <ga...@umich.edu> wrote: >> > I got this error when I tried to install the package in order to use the >> > "logit"(logit transformation) function on linux. >> > >> >> install.packages(car) >> > Error in install.packages(car) : object 'car' not found >> > >> > I was using the Terminal in my macbook accessing the server in the lab. >> I >> > could successfully using library(car) to install this package use R.app >> GUI >> > in my laptop, after loading MASS package. >> > >> >> library(MASS) >> > >> >> library(car) >> > Can someone told me why I cannot install the car package on linux and >> how >> > to solve this problem??? >> > >> > Thanks a million!! >> > Chenwei >> > >> > [[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. >> > > > > -- > > Chenwei Gao > > Master of Public Health Candidate, 2013 > > Department of Epidemiology > > University of Michigan School of Public Health > > Phone: (734) 604-8791 > > > -- Chenwei Gao Master of Public Health Candidate, 2013 Department of Epidemiology University of Michigan School of Public Health Phone: (734) 604-8791 [[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.