I've got an error while trying to add the R cran mirror for Switzerland to the sources.list file (http://stat.ethz.ch/CRAN/), even though I followed the instructions from page http://stat.ethz.ch/CRAN/ (I'm running Ubuntu 13.04) I really can't find what I'm doing wrong... here are my steps:
sudo gedit /etc/apt/sources.list
then, in the source.list file, I added a line like that, at the very end:
#R repositories switzerland http://stat.ethz.ch/CRAN/bin/linux/ubuntu raring/
then, save and exit and the error appears when typing the sudo apt-get update command:
sudo apt-get update E: Type 'http://stat.ethz.ch/CRAN/bin/linux/ubuntu' is not known on line 60 in source list /etc/apt/sources.list E: The list of sources could not be read.
Thank you for your answers!
install.packages()from within R, it should prompt you to pick a repo. There you can choose CH.