The problem
Hello everyone, I need to install R software (at least 3.5 but hopefully 3.6) in my raspberry pi 3 B
I started by doing the usual:
sudo apt-get update
sudo apt install r-base r-base-dev
Which works, but I get R 3.3
So then I tried what I found in this webpage and it works unil:
sudo add-apt-repository 'deb http://cran.dcc.uchile.cl/bin/linux/debian stretch-cran35/'
But I get the following error:
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 95, in <module>
sp = SoftwareProperties(options=options)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
self.reload_sourceslist()
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
self.distro.get_sources(self.sourceslist)
File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 89, in get_sources
(self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Raspbian/stretch
I am not sure what I am doing wrong
Please help!!