Add CRAN repository (UCB CNR mirror) and install R.