Most package I try to install have non-zero exit status. I tried hdi, leaps, glmnet. Every attempt to install the packages has failed.
update.packages(repos='http://cran.rstudio.com/', ask=FALSE, checkBuilt=TRUE)
install.packages("Rcpp", type = "source")
I always have to work with an online R compiler which is very annoying. What could help here? Thank you.