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.

______________________________________________
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.

Reply via email to