## Default repo local({r <- getOption("repos") r["CRAN"] <- "http://cran.r-project.org" options(repos=r) }) or chooseCRANmirror(81)