I have messed up R's Makeconf file. I tried:
sudo apt-get --purge remove r-base sudo apt-get --purge remove r-base-dev
--I got R in the first place by doing:
sudo apt-get install r-base sudo apt-get install r-base-dev
but when I type
R still starts. Also the Makeconf file is still the one I messed up.