[R] How to intall "car" package on linux

R. Michael Weylandt michael.weylandt at gmail.com
Sat Jul 7 05:08:42 CEST 2012


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 <gaoch at 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 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.



More information about the R-help mailing list