Package download error on R for Mac

rstudio
car
package-installation

#1

I am trying to install package "car." I am running following two line of code.

install.packages('car')
library(car)

But, I am getting this error.

The package is being downloaded on the drive, but it is failing to install. Could anyone help me with this?


#2

try installing data.table:

install.packages('data.table')

then try loading car:

library(car)